Georg Brandl ge...@python.org added the comment:
Metoo :) Go ahead.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue6423
___
___
Python-bugs-list
Ezio Melotti ezio.melo...@gmail.com added the comment:
Fixed in r74179 (trunk) and r74180 (py3k).
Thanks!
--
keywords: -needs review
resolution: accepted - fixed
stage: patch review - committed/rejected
status: open - closed
___
Python tracker
Ezio Melotti ezio.melo...@gmail.com added the comment:
I rephrased the doc and removed has_key at all, fixed the rst markup for
'in' and improved a little the example.
If the attached patch is ok I'll commit it.
The py3 doc is slightly different, they should probably be the same (I
prefer 'in'
R. David Murray rdmur...@bitdance.com added the comment:
Your patch looks good. I was going to opine that mentioning
__contains__ was good because it would lead the reader to understand how
'in' is supported, but since the len function is referenced but that
doesn't let you learn about __len__,
Changes by Ezio Melotti ezio.melo...@gmail.com:
--
priority: - low
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue6423
___
___
Python-bugs-list
Georg Brandl ge...@python.org added the comment:
Patch looks good and is ready to commit. Py3k seems to have been fixed
already.
--
assignee: georg.brandl - ezio.melotti
nosy: +ezio.melotti
resolution: - accepted
___
Python tracker
New submission from Christoph Zwerschke c...@online.de:
The cgi.Fieldstorage class supports the __contains__ method since Py
2.2, but the documentation of Py 2.6 still only mentions the old
fashioned has_key method. See patch.
--
assignee: georg.brandl
components: Documentation
files: