aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPablo Galindo <Pablogsal@gmail.com>2019-05-16 21:08:15 +0100
committerGitHub <noreply@github.com>2019-05-16 21:08:15 +0100
commitaee19f54f6fe45f6b3c906987941e5a8af4468e9 (patch)
treeda9a3967721268606f7199a0effd5cc28ff96c91 /Lib/inspect.py
parentbpo-36763: Add _PyCoreConfig.configure_c_stdio (GH-13363) (diff)
downloadcpython-aee19f54f6fe45f6b3c906987941e5a8af4468e9.tar.gz
cpython-aee19f54f6fe45f6b3c906987941e5a8af4468e9.tar.bz2
cpython-aee19f54f6fe45f6b3c906987941e5a8af4468e9.zip
bpo-36751: Undeprecate getfullargspec (GH-13245)
Diffstat (limited to 'Lib/inspect.py')
-rw-r--r--Lib/inspect.py6
1 files changed, 0 insertions, 6 deletions
diff --git a/Lib/inspect.py b/Lib/inspect.py
index 6c3027987b3..a4f28f75570 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`
#