Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

Fixing style.

  • Loading branch information...
commit 83836e18ac1b907da1424318e417f491e413471b 1 parent c57d8e1
Karan Lyons authored

Showing 1 changed file with 1 addition and 1 deletion. Show diff stats Hide diff stats

  1. +1 1  frames.py
2  frames.py
@@ -84,7 +84,7 @@ def current_frame(raw=False):
84 84 # `import sys` is important here, because the `sys` module is special
85 85 # and we will end up with the class frame instead of the `current` one.
86 86
87   - frame = __import__('sys')._getframe().f_back if Frame.NATIVE else Frame._getframe().f_back
  87 + frame = (__import__('sys')._getframe() if Frame.NATIVE else _getframe()).f_back
88 88
89 89 if not raw:
90 90 frame = Frame(frame)

0 comments on commit 83836e1

Please sign in to comment.
Something went wrong with that request. Please try again.