bpo-24274: fix comment in dictobject.c (GH-194)

This commit is contained in:
INADA Naoki 2017-02-20 20:29:30 +09:00 committed by GitHub
parent 7c95a94c3a
commit 66fa9d4205

View file

@ -429,7 +429,7 @@ Christian Tismer.
lookdict() is general-purpose, and may return NULL if (and only if) a
comparison raises an exception (this was new in Python 2.5).
lookdict_unicode() below is specialized to string keys, comparison of which can
never raise an exception; that function can never return NULL.
never raise an exception; that function must not return NULL for string key.
lookdict_unicode_nodummy is further specialized for string keys that cannot be
the <dummy> value.
For both, when the key isn't found a PyDictEntry* is returned