summaryrefslogtreecommitdiffstats
path: root/Lib/inspect.py
diff options
context:
space:
mode:
Diffstat (limited to 'Lib/inspect.py')
-rw-r--r--Lib/inspect.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/inspect.py b/Lib/inspect.py
index 1690f94..3bc220b 100644
--- a/Lib/inspect.py
+++ b/Lib/inspect.py
@@ -1063,7 +1063,7 @@ def getinnerframes(tb, context=1):
return framelist
def currentframe():
- """Return the frame or the caller or None if this is not possible."""
+ """Return the frame of the caller or None if this is not possible."""
return sys._getframe(1) if hasattr(sys, "_getframe") else None
def stack(context=1):