Commit a3a3fc67 authored by Benjamin Peterson's avatar Benjamin Peterson

typo

parent 42ac4754
...@@ -1063,7 +1063,7 @@ def getinnerframes(tb, context=1): ...@@ -1063,7 +1063,7 @@ def getinnerframes(tb, context=1):
return framelist return framelist
def currentframe(): 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 return sys._getframe(1) if hasattr(sys, "_getframe") else None
def stack(context=1): def stack(context=1):
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment