Skip to content

Instantly share code, notes, and snippets.

@killpanda
Created June 20, 2015 07:17
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save killpanda/3539b9e02270050469c7 to your computer and use it in GitHub Desktop.
Save killpanda/3539b9e02270050469c7 to your computer and use it in GitHub Desktop.
test1.py
import sys
def test1():
try:
raise Exception("tessssssssssssst")
except Exception as e:
_e = e
def test2():
print(_e)
return test2
if __name__ == '__main__':
test1()()
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment