summaryrefslogtreecommitdiffstats
path: root/Lib/test/test_cmd.py
diff options
context:
space:
mode:
authorTerry Jan Reedy <tjreedy@udel.edu>2018-02-04 02:00:24 (GMT)
committerGitHub <noreply@github.com>2018-02-04 02:00:24 (GMT)
commitc90a5dec03fbef3a26479c800d5d6d15c44d5afb (patch)
tree6b0f79b280eec408940226df246dc05de4dd50c7 /Lib/test/test_cmd.py
parent0cb82eb7e58989693f9bec3596bbbec0256a3fca (diff)
downloadcpython-c90a5dec03fbef3a26479c800d5d6d15c44d5afb.zip
cpython-c90a5dec03fbef3a26479c800d5d6d15c44d5afb.tar.gz
cpython-c90a5dec03fbef3a26479c800d5d6d15c44d5afb.tar.bz2
[3.6] bpo-32746: Fix multiple typos (GH-5144) (GH-5522)
Fix typos found by codespell in docs, docstrings, and comments. Fixes for the following files were in post-3.6 code and not backported: Lib/ctypes/_aix.py (new), Lib/test/test_concurrent_futures.py, Modules/_asynciomodule.c, Modules/_pickle.c, Objects/obmalloc.c. (cherry picked from commit c3d9508ff22ece9a96892b628dd5813e2fb0cd80)
Diffstat (limited to 'Lib/test/test_cmd.py')
-rw-r--r--Lib/test/test_cmd.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/Lib/test/test_cmd.py b/Lib/test/test_cmd.py
index dd8981f..bdcbb98 100644
--- a/Lib/test/test_cmd.py
+++ b/Lib/test/test_cmd.py
@@ -52,7 +52,7 @@ class samplecmdclass(cmd.Cmd):
Test for the function completedefault():
>>> mycmd.completedefault()
- This is the completedefault methode
+ This is the completedefault method
>>> mycmd.completenames("a")
['add']
@@ -141,7 +141,7 @@ class samplecmdclass(cmd.Cmd):
print("Hello from postloop")
def completedefault(self, *ignored):
- print("This is the completedefault methode")
+ print("This is the completedefault method")
def complete_command(self):
print("complete command")