Skip to content

Commit 829b766

Browse files
bpo-33957: Doc: Use better wording (GH-7912)
(cherry picked from commit 866c168) Co-authored-by: Srinivas Reddy Thatiparthy (శ్రీనివాస్ రెడ్డి తాటిపర్తి) <[email protected]>
1 parent ee60e36 commit 829b766

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Doc/faq/design.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -500,7 +500,7 @@ on the key and a per-process seed; for example, "Python" could hash to
500500
to 1142331976. The hash code is then used to calculate a location in an
501501
internal array where the value will be stored. Assuming that you're storing
502502
keys that all have different hash values, this means that dictionaries take
503-
constant time -- O(1), in computer science notation -- to retrieve a key.
503+
constant time -- O(1), in Big-O notation -- to retrieve a key.
504504

505505

506506
Why must dictionary keys be immutable?

0 commit comments

Comments
 (0)