Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Fixing style.

  • Loading branch information...
commit 83836e18ac1b907da1424318e417f491e413471b 1 parent c57d8e1
@karanlyons authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  frames.py
View
2  frames.py
@@ -84,7 +84,7 @@ def current_frame(raw=False):
# `import sys` is important here, because the `sys` module is special
# and we will end up with the class frame instead of the `current` one.
- frame = __import__('sys')._getframe().f_back if Frame.NATIVE else Frame._getframe().f_back
+ frame = (__import__('sys')._getframe() if Frame.NATIVE else _getframe()).f_back
if not raw:
frame = Frame(frame)
Please sign in to comment.
Something went wrong with that request. Please try again.