summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBenjamin Peterson <benjamin@python.org>2010-08-09 15:49:56 (GMT)
committerBenjamin Peterson <benjamin@python.org>2010-08-09 15:49:56 (GMT)
commita3a3fc6770976db921dbcc810b7779e7ea7ded07 (patch)
tree8d810189c213b8daefc741a8af5ece54f7e56376
parent42ac47548de06ac4c022e54abdbdc467f80cecb2 (diff)
downloadcpython-a3a3fc6770976db921dbcc810b7779e7ea7ded07.zip
cpython-a3a3fc6770976db921dbcc810b7779e7ea7ded07.tar.gz
cpython-a3a3fc6770976db921dbcc810b7779e7ea7ded07.tar.bz2
typo
-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):