diff options
author | Pablo Galindo <Pablogsal@gmail.com> | 2019-05-16 20:08:15 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-05-16 20:08:15 (GMT) |
commit | aee19f54f6fe45f6b3c906987941e5a8af4468e9 (patch) | |
tree | da9a3967721268606f7199a0effd5cc28ff96c91 /Lib/inspect.py | |
parent | 54b43bb3bb88339b63182b3515cda3efa530ed62 (diff) | |
download | cpython-aee19f54f6fe45f6b3c906987941e5a8af4468e9.zip cpython-aee19f54f6fe45f6b3c906987941e5a8af4468e9.tar.gz cpython-aee19f54f6fe45f6b3c906987941e5a8af4468e9.tar.bz2 |
bpo-36751: Undeprecate getfullargspec (GH-13245)
Diffstat (limited to 'Lib/inspect.py')
-rw-r--r-- | Lib/inspect.py | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/Lib/inspect.py b/Lib/inspect.py index 6c30279..a4f28f7 100644 --- a/Lib/inspect.py +++ b/Lib/inspect.py @@ -1103,16 +1103,10 @@ def getfullargspec(func): 'kwonlydefaults' is a dictionary mapping names from kwonlyargs to defaults. 'annotations' is a dictionary mapping parameter names to annotations. - .. deprecated:: 3.8 - Use inspect.signature() instead of inspect.getfullargspec(). - Notable differences from inspect.signature(): - the "self" parameter is always reported, even for bound methods - wrapper chains defined by __wrapped__ *not* unwrapped automatically """ - - warnings.warn("Use inspect.signature() instead of inspect.getfullargspec()", - DeprecationWarning, stacklevel=2) try: # Re: `skip_bound_arg=False` # |