New submission from INADA Naoki <songofaca...@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: d...@python
components: Documentation
messages: 122824
nosy: d...@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 <rep...@bugs.python.org>
<http://bugs.python.org/issue10579>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to