[Tutor] KeyError list?

bob gailer bgailer at alum.rpi.edu
Wed Aug 15 20:27:55 CEST 2007


Rob Andrews wrote:
> Is there a comprehensive list of dictionary KeyError meanings?
>   
 >>> d = {1:2}
 >>> d[1]
2
 >>> d[2]
KeyError

AFAIK that's it.


More information about the Tutor mailing list