Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 8c3e91e

Browse files
committed
Repair typos in comments.
1 parent 3918fb2 commit 8c3e91e

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

Lib/test/test_mutants.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,8 @@
33

44
# From SF bug #422121: Insecurities in dict comparison.
55

6-
# Safety of code doing comparisons has been an historical Python waak spot.
7-
# The problem is that comparison of structures in written in C *naturally*
6+
# Safety of code doing comparisons has been an historical Python weak spot.
7+
# The problem is that comparison of structures written in C *naturally*
88
# wants to hold on to things like the size of the container, or "the
99
# biggest" containee so far, across a traversal of the container; but
1010
# code to do containee comparisons can call back into Python and mutate
@@ -71,9 +71,9 @@ def __init__(self, i):
7171
self.i = i
7272

7373
# An artificial hashcode is selected at random so that we don't
74-
# have any systematic relationship between comparsion outcomes
74+
# have any systematic relationship between comparison outcomes
7575
# (based on self.i and other.i) and relative position within the
76-
# hawh vector (based on hashcode).
76+
# hash vector (based on hashcode).
7777
self.hashcode = random.randrange(1000000000)
7878

7979
def __hash__(self):

0 commit comments

Comments
 (0)