mirror of https://github.com/python/cpython.git
bpo-33957: Doc: Use better wording (GH-7912)
This commit is contained in:
parent
42397731d7
commit
866c168a5f
|
@ -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
|
||||
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
|
||||
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?
|
||||
|
|
Loading…
Reference in New Issue