[Python-Dev] Python 3.0b3 documentation typo

Reed O'Brien reed at reedobrien.com
Thu Sep 4 05:16:31 CEST 2008


I was reading through the Dictionary views section:

http://docs.python.org/dev/3.0/library/stdtypes.html#dictionary-view-objects

Unless I am mistaken; the intersection at the end of the example usage  
should be:

 >>> keys & {'eggs', 'bacon', 'salad'}
{'bacon'}


Cheers,
~ro


More information about the Python-Dev mailing list