[docs] [issue10579] Is ``o[key]`` equivalent to PyMapping_HasKeyString?
INADA Naoki
report at bugs.python.org
Mon Nov 29 17:18:37 CET 2010
New submission from INADA Naoki <songofacandy at gmail.com>:
http://docs.python.org/c-api/mapping.html#PyMapping_HasKeyString
and
http://docs.python.org/c-api/mapping.html#PyMapping_HasKey
says:
> This is equivalent to ``o[key]``
I think it should be ``key in o``.
----------
assignee: docs at python
components: Documentation
messages: 122824
nosy: docs at python, naoki
priority: normal
severity: normal
status: open
title: Is ``o[key]`` equivalent to PyMapping_HasKeyString?
versions: Python 2.6, Python 2.7, Python 3.1, Python 3.2
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue10579>
_______________________________________
More information about the docs
mailing list