We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 7c95a94 commit 66fa9d4Copy full SHA for 66fa9d4
Objects/dictobject.c
@@ -429,7 +429,7 @@ Christian Tismer.
429
lookdict() is general-purpose, and may return NULL if (and only if) a
430
comparison raises an exception (this was new in Python 2.5).
431
lookdict_unicode() below is specialized to string keys, comparison of which can
432
-never raise an exception; that function can never return NULL.
+never raise an exception; that function must not return NULL for string key.
433
lookdict_unicode_nodummy is further specialized for string keys that cannot be
434
the <dummy> value.
435
For both, when the key isn't found a PyDictEntry* is returned
0 commit comments