summaryrefslogtreecommitdiffstats
path: root/Lib
diff options
context:
space:
mode:
authorMartin Panter <vadmium+py@gmail.com>2016-09-10 10:38:28 (GMT)
committerMartin Panter <vadmium+py@gmail.com>2016-09-10 10:38:28 (GMT)
commitfcc8a0f0f561af9cf4c7975691a883ff401f3401 (patch)
treecdd1006b9860397cf99efb9828ebc1c46b94fde1 /Lib
parentad6a99c0111a9291b5b0c09507cd821e9c4937fb (diff)
downloadcpython-fcc8a0f0f561af9cf4c7975691a883ff401f3401.zip
cpython-fcc8a0f0f561af9cf4c7975691a883ff401f3401.tar.gz
cpython-fcc8a0f0f561af9cf4c7975691a883ff401f3401.tar.bz2
Correct spelling in documentation and code comments
Diffstat (limited to 'Lib')
-rw-r--r--Lib/lib-tk/turtle.py2
-rw-r--r--Lib/test/test_os.py2
2 files changed, 2 insertions, 2 deletions
diff --git a/Lib/lib-tk/turtle.py b/Lib/lib-tk/turtle.py
index 635f48d..7444d45 100644
--- a/Lib/lib-tk/turtle.py
+++ b/Lib/lib-tk/turtle.py
@@ -981,7 +981,7 @@ class TurtleScreen(TurtleScreenBase):
"""Set turtle-mode ('standard', 'logo' or 'world') and perform reset.
Optional argument:
- mode -- on of the strings 'standard', 'logo' or 'world'
+ mode -- one of the strings 'standard', 'logo' or 'world'
Mode 'standard' is compatible with turtle.py.
Mode 'logo' is compatible with most Logo-Turtle-Graphics.
diff --git a/Lib/test/test_os.py b/Lib/test/test_os.py
index fb34893..b70e285 100644
--- a/Lib/test/test_os.py
+++ b/Lib/test/test_os.py
@@ -634,7 +634,7 @@ class TestInvalidFD(unittest.TestCase):
singles = ["fchdir", "fdopen", "dup", "fdatasync", "fstat",
"fstatvfs", "fsync", "tcgetpgrp", "ttyname"]
#singles.append("close")
- #We omit close because it doesn'r raise an exception on some platforms
+ #We omit close because it doesn't raise an exception on some platforms
def get_single(f):
def helper(self):
if hasattr(os, f):