Fix typo found by @s0undt3ch

This commit is contained in:
Mike Place 2017-10-01 00:39:37 +02:00 committed by rallytime
parent 0cac15e502
commit a6c2d78518
No known key found for this signature in database
GPG key ID: E8F1A4B90D0DEA19

View file

@ -319,7 +319,7 @@ def _call_function(name, returner=None, **kwargs):
func_kw = dict(zip(argspec.args[-len(argspec.defaults or []):], # pylint: disable=incompatible-py3-code
argspec.defaults or []))
# func_args is initialized to a list of keyword arguments the function to be run accepts
# func_args is initialized to a list of positional arguments that the function to be run accepts
func_args = argspec.args[:len(argspec.args or [] ) - len(argspec.defaults or [])]
arg_type, na_type, kw_type = [], {}, False
for funcset in reversed(kwargs.get('func_args') or []):