Skip to content

Commit 66fa9d4

Browse files
authored
bpo-24274: fix comment in dictobject.c (GH-194)
1 parent 7c95a94 commit 66fa9d4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Objects/dictobject.c

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

0 commit comments

Comments
 (0)