keywordonly
¶
Decorator for labeling keyword arguments as keyword only
|
Return function decorator enforcing maximum of n positional arguments |
|
Return method decorator enforcing maximum of n positional arguments |
kw_only_func¶
- nibabel.keywordonly.kw_only_func(n)¶
Return function decorator enforcing maximum of n positional arguments
kw_only_meth¶
- nibabel.keywordonly.kw_only_meth(n)¶
Return method decorator enforcing maximum of n positional arguments
The method has at least one positional argument
self
orcls
; allow for that.