[issue10579] Is ``o[key]`` equivalent to PyMapping_HasKeyString?
New submission from INADA Naoki <songofacandy@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@python components: Documentation messages: 122824 nosy: docs@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@bugs.python.org> <http://bugs.python.org/issue10579> _______________________________________
INADA Naoki <songofacandy@gmail.com> added the comment: I'm sorry, I've misreaded. ---------- resolution: -> invalid status: open -> closed _______________________________________ Python tracker <report@bugs.python.org> <http://bugs.python.org/issue10579> _______________________________________
participants (1)
-
INADA Naoki