summaryrefslogtreecommitdiff
path: root/Lib
diff options
context:
space:
mode:
Diffstat (limited to 'Lib')
-rw-r--r--Lib/test/test_os.py2
-rw-r--r--Lib/turtle.py2
2 files changed, 2 insertions, 2 deletions
diff --git a/Lib/test/test_os.py b/Lib/test/test_os.py
index 874f9e4c90..a1046b7aa9 100644
--- a/Lib/test/test_os.py
+++ b/Lib/test/test_os.py
@@ -1471,7 +1471,7 @@ class TestInvalidFD(unittest.TestCase):
singles = ["fchdir", "dup", "fdopen", "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):
diff --git a/Lib/turtle.py b/Lib/turtle.py
index 57cf3d9c02..8036b7faaa 100644
--- a/Lib/turtle.py
+++ b/Lib/turtle.py
@@ -1035,7 +1035,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.