Every story and comment from the Hacker News API, in a layout borrowed from 2001.
A comment on Learn Python in minutes.
Add about line 89, before assignment to some_var,
a, b = 3, 4
try: filled_dict["four"] #=> KeyError except KeyError: print "Raises a KeyError"
def foo(*seq, **dict): pass
There are no comments on this comment yet.
Add about line 89, before assignment to some_var,
Added a try-except around line 186, to guard the KeyError, Added a definition of foo around 320, so calls would work