diff options
author | Tim Peters <tim.peters@gmail.com> | 2001-05-10 19:40:30 (GMT) |
---|---|---|
committer | Tim Peters <tim.peters@gmail.com> | 2001-05-10 19:40:30 (GMT) |
commit | 8c3e91efaf6508e73fa997b95ef85b66f7cb5d63 (patch) | |
tree | ba15561df4f9117eafc29a1f30700eaef6a5a939 /Lib/test/test_mutants.py | |
parent | 3918fb2549715723caaf42be1c4a3a3ed4e05dfb (diff) | |
download | cpython-8c3e91efaf6508e73fa997b95ef85b66f7cb5d63.zip cpython-8c3e91efaf6508e73fa997b95ef85b66f7cb5d63.tar.gz cpython-8c3e91efaf6508e73fa997b95ef85b66f7cb5d63.tar.bz2 |
Repair typos in comments.
Diffstat (limited to 'Lib/test/test_mutants.py')
-rw-r--r-- | Lib/test/test_mutants.py | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/Lib/test/test_mutants.py b/Lib/test/test_mutants.py index 42efb6c..1bcb801 100644 --- a/Lib/test/test_mutants.py +++ b/Lib/test/test_mutants.py @@ -3,8 +3,8 @@ import random # From SF bug #422121: Insecurities in dict comparison. -# Safety of code doing comparisons has been an historical Python waak spot. -# The problem is that comparison of structures in written in C *naturally* +# Safety of code doing comparisons has been an historical Python weak spot. +# The problem is that comparison of structures written in C *naturally* # wants to hold on to things like the size of the container, or "the # biggest" containee so far, across a traversal of the container; but # code to do containee comparisons can call back into Python and mutate @@ -71,9 +71,9 @@ class Horrid: self.i = i # An artificial hashcode is selected at random so that we don't - # have any systematic relationship between comparsion outcomes + # have any systematic relationship between comparison outcomes # (based on self.i and other.i) and relative position within the - # hawh vector (based on hashcode). + # hash vector (based on hashcode). self.hashcode = random.randrange(1000000000) def __hash__(self): |