mirror of
https://github.com/python/cpython.git
synced 2025-09-09 02:11:51 +00:00
bpo-33957: Doc: Use better wording (GH-7912)
This commit is contained in:
parent
42397731d7
commit
866c168a5f
1 changed files with 1 additions and 1 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue