Add documentation to the dict implementation

Issue #27350.
This commit is contained in:
Victor Stinner 2016-09-08 12:01:25 -07:00
parent 58f7c5a955
commit a4348cc1be
3 changed files with 51 additions and 3 deletions

View file

@ -593,7 +593,7 @@ contributions by Reimer Behrends, Jyrki Alakuijala, Vladimir Marangozov and
Christian Tismer.
lookdict() is general-purpose, and may return DKIX_ERROR if (and only if) a
comparison raises an exception (this was new in Python 2.5).
comparison raises an exception.
lookdict_unicode() below is specialized to string keys, comparison of which can
never raise an exception; that function can never return DKIX_ERROR.
lookdict_unicode_nodummy is further specialized for string keys that cannot be