bpo-33957: Doc: Use better wording (GH-7912)

This commit is contained in:
Srinivas Reddy Thatiparthy (శ్రీనివాస్ రెడ్డి తాటిపర్తి) 2018-06-26 13:57:05 +05:30 committed by INADA Naoki
parent 42397731d7
commit 866c168a5f

View file

@ -500,7 +500,7 @@ on the key and a per-process seed; for example, "Python" could hash to
to 1142331976. The hash code is then used to calculate a location in an to 1142331976. The hash code is then used to calculate a location in an
internal array where the value will be stored. Assuming that you're storing internal array where the value will be stored. Assuming that you're storing
keys that all have different hash values, this means that dictionaries take keys that all have different hash values, this means that dictionaries take
constant time -- O(1), in computer science notation -- to retrieve a key. constant time -- O(1), in Big-O notation -- to retrieve a key.
Why must dictionary keys be immutable? Why must dictionary keys be immutable?