diff options
author | Miss Islington (bot) <31488909+miss-islington@users.noreply.github.com> | 2018-02-04 01:41:43 (GMT) |
---|---|---|
committer | Terry Jan Reedy <tjreedy@udel.edu> | 2018-02-04 01:41:43 (GMT) |
commit | e86db34dd3b43dc9c9beb21a82cd2c3b7c4c05df (patch) | |
tree | 93595a8942b755afd2b49bc574fb7dce9a072ea1 /Lib/test/test_generators.py | |
parent | 52f745852e49498d7dd86fd309ae57f6a7af568f (diff) | |
download | cpython-e86db34dd3b43dc9c9beb21a82cd2c3b7c4c05df.zip cpython-e86db34dd3b43dc9c9beb21a82cd2c3b7c4c05df.tar.gz cpython-e86db34dd3b43dc9c9beb21a82cd2c3b7c4c05df.tar.bz2 |
[3.7] bpo-32746: Fix multiple typos (GH-5144) (GH-5520)
Fix typos found by codespell in docs, docstrings, and comments.
(cherry picked from commit c3d9508ff22ece9a96892b628dd5813e2fb0cd80)
Co-authored-by: Leo Arias <leo.arias@canonical.com>
Diffstat (limited to 'Lib/test/test_generators.py')
-rw-r--r-- | Lib/test/test_generators.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Lib/test/test_generators.py b/Lib/test/test_generators.py index 3461f20..7360b34 100644 --- a/Lib/test/test_generators.py +++ b/Lib/test/test_generators.py @@ -1500,7 +1500,7 @@ class Knights: succs[final].remove(corner) add_to_successors(this) - # Generate moves 3 thru m*n-1. + # Generate moves 3 through m*n-1. def advance(len=len): # If some successor has only one exit, must take it. # Else favor successors with fewer exits. @@ -1522,7 +1522,7 @@ class Knights: yield i add_to_successors(i) - # Generate moves 3 thru m*n-1. Alternative version using a + # Generate moves 3 through m*n-1. Alternative version using a # stronger (but more expensive) heuristic to order successors. # Since the # of backtracking levels is m*n, a poor move early on # can take eons to undo. Smallest square board for which this |