diff options
| author | Min ho Kim <minho42@gmail.com> | 2019-07-31 08:16:13 +1000 |
|---|---|---|
| committer | Terry Jan Reedy <tjreedy@udel.edu> | 2019-07-30 18:16:13 -0400 |
| commit | c4cacc8c5eab50db8da3140353596f38a01115ca (patch) | |
| tree | 9198db7e2525d0f113823faee4b6d4ac7136a633 /Lib/lib2to3 | |
| parent | 0acb646b8e405864224bfd6d7d5089980dea63ac (diff) | |
| download | cpython-git-c4cacc8c5eab50db8da3140353596f38a01115ca.tar.gz | |
Fix typos in comments, docs and test names (#15018)
* Fix typos in comments, docs and test names
* Update test_pyparse.py
account for change in string length
* Apply suggestion: splitable -> splittable
Co-Authored-By: Terry Jan Reedy <tjreedy@udel.edu>
* Apply suggestion: splitable -> splittable
Co-Authored-By: Terry Jan Reedy <tjreedy@udel.edu>
* Apply suggestion: Dealloccte -> Deallocate
Co-Authored-By: Terry Jan Reedy <tjreedy@udel.edu>
* Update posixmodule checksum.
* Reverse idlelib changes.
Diffstat (limited to 'Lib/lib2to3')
| -rw-r--r-- | Lib/lib2to3/fixer_util.py | 2 | ||||
| -rw-r--r-- | Lib/lib2to3/tests/test_parser.py | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/Lib/lib2to3/fixer_util.py b/Lib/lib2to3/fixer_util.py index babe6cb3f6..c2a3a47f50 100644 --- a/Lib/lib2to3/fixer_util.py +++ b/Lib/lib2to3/fixer_util.py @@ -412,7 +412,7 @@ def _find(name, node): return None def _is_import_binding(node, name, package=None): - """ Will reuturn node if node will import name, or node + """ Will return node if node will import name, or node will import * from package. None is returned otherwise. See test cases for examples. """ diff --git a/Lib/lib2to3/tests/test_parser.py b/Lib/lib2to3/tests/test_parser.py index 01b2b51e4a..f22d399b34 100644 --- a/Lib/lib2to3/tests/test_parser.py +++ b/Lib/lib2to3/tests/test_parser.py @@ -531,7 +531,7 @@ class TestSetLiteral(GrammarTest): # Adapted from Python 3's Lib/test/test_unicode_identifiers.py and # Lib/test/test_tokenize.py:TokenizeTest.test_non_ascii_identifiers -class TestIdentfier(GrammarTest): +class TestIdentifier(GrammarTest): def test_non_ascii_identifiers(self): self.validate("Örter = 'places'\ngrün = 'green'") self.validate("蟒 = a蟒 = 锦蛇 = 1") |
