keywordonly
Decorator for labeling keyword arguments as keyword only
kw_only_func(n) |
Return function decorator enforcing maximum of n positional arguments |
kw_only_meth(n) |
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 or cls; allow
for that.