Pastebin

Paste #1202: No description

< previous paste - next paste>

Pasted by Flawless

Download View as text

source:
{}['x']

result:
python2.4 ./test.py
Traceback (most recent call last):
  File "./test.py", line 3, in ?
    {}['x']
KeyError: 'x'


---------

source:
try:
    {}['x']
except Exception, e:
    print e.args[0]

result:
python2.4 ./test.py

New Paste


Do not write anything in this field if you're a human.

Go to most recent paste.