summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Lib/inspect.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/inspect.py b/Lib/inspect.py
index fffca22..c460309 100644
--- a/Lib/inspect.py
+++ b/Lib/inspect.py
@@ -1112,7 +1112,7 @@ def getfullargspec(func):
"""
warnings.warn("Use inspect.signature() instead of inspect.getfullargspec()",
- DeprecationWarning)
+ DeprecationWarning, stacklevel=2)
try:
# Re: `skip_bound_arg=False`
#