[docs] Typo in Py3k doc: ChainMap example

Olivier Bernard obernard78+python at gmail.com
Thu Oct 4 10:03:41 CEST 2012


Hi,

I just saw that there is a typo in the 3rd example of the new ChainMap
section in 'collections.txt':
the 9th line of this example indicates

"del['x']"

which is obviously false, and more than that, since I tested this (just to
be sure ;-)) and it raises a SyntaxError. It should be

"del d['x']".

Nevertheless, it is the first typo I see and I've been reading the Python
doc for a long time. Great work!

Regards,
Olivier
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/docs/attachments/20121004/6b1a9815/attachment.html>


More information about the docs mailing list