[New-bugs-announce] [issue6423] The cgi docs should advertize using "in" instead of "has_key"

Christoph Zwerschke report at bugs.python.org
Sun Jul 5 18:05:32 CEST 2009


New submission from Christoph Zwerschke <cito at 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: cgi.patch
keywords: patch
messages: 90158
nosy: cito, georg.brandl
severity: normal
status: open
title: The cgi docs should advertize using "in" instead of "has_key"
versions: Python 2.6
Added file: http://bugs.python.org/file14456/cgi.patch

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue6423>
_______________________________________


More information about the New-bugs-announce mailing list