diff options
-rw-r--r-- | Lib/inspect.py | 2 | ||||
-rw-r--r-- | Misc/ACKS | 1 | ||||
-rw-r--r-- | Misc/NEWS | 3 |
3 files changed, 5 insertions, 1 deletions
diff --git a/Lib/inspect.py b/Lib/inspect.py index df1d4b6..3b58bd8 100644 --- a/Lib/inspect.py +++ b/Lib/inspect.py @@ -791,7 +791,7 @@ def getargspec(func): return ArgSpec(args, varargs, varkw, defaults) FullArgSpec = namedtuple('FullArgSpec', - 'args, varargs, varkw, defaults, kwonlyargs, kwdefaults, annotations') + 'args, varargs, varkw, defaults, kwonlyargs, kwonlydefaults, annotations') def getfullargspec(func): """Get the names and default values of a function's arguments. @@ -230,6 +230,7 @@ Gyro Funch Peter Funk Geoff Furnish Ulisses Furquim +Hagen Fürstenau Achim Gaedke Lele Gaifax Santiago Gala @@ -19,6 +19,9 @@ Core and Builtins Library ------- +- Issue #4307: The named tuple that ``inspect.getfullargspec()`` returns now + uses ``kwonlydefaults`` instead of ``kwdefaults``. + - Issue #4298: Fix a segfault when pickle.loads is passed a ill-formed input. - Issue #4283: Fix a left-over "iteritems" call in distutils. |