This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Traceback (most recent call last): | |
File "t.py", line 10, in <module> | |
test1()() | |
File "t.py", line 8, in test2 | |
print(e) | |
NameError: free variable 'e' referenced before assignment in enclosing scope |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment