]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
Correct spelling in documentation and code comment
authorMartin Panter <vadmium+py@gmail.com>
Sat, 10 Sep 2016 10:38:28 +0000 (10:38 +0000)
committerMartin Panter <vadmium+py@gmail.com>
Sat, 10 Sep 2016 10:38:28 +0000 (10:38 +0000)
Doc/whatsnew/2.2.rst
Lib/test/test_os.py
Lib/turtle.py

index 4e8d7fa18a2100248f8b9b0d99a41fb6b50de24e..c4ecb26d2d80a5907f98fbd836ed50a7433dfc8f 100644 (file)
@@ -1159,7 +1159,7 @@ Some of the more notable changes are:
      The main change is the possibility to build Python as a
      framework. This installs a self-contained Python installation plus the
      OSX framework "glue" into /Library/Frameworks/Python.framework (or
-     another location of choice). For now there is little immedeate added
+     another location of choice). For now there is little immediate added
      benefit to this (actually, there is the disadvantage that you have to
      change your PATH to be able to find Python), but it is the basis for
      creating a fullblown Python application, porting the MacPython IDE,
@@ -1168,7 +1168,7 @@ Some of the more notable changes are:
      The other change is that most MacPython toolbox modules, which
      interface to all the MacOS APIs such as windowing, quicktime,
      scripting, etc. have been ported. Again, most of these are not of
-     immedeate use, as they need a full application to be really useful, so
+     immediate use, as they need a full application to be really useful, so
      they have been commented out in setup.py. People wanting to experiment
      can uncomment them. Gestalt and Internet Config modules are enabled by
      default.
index 874f9e4c909879cf8528c243c62e506e693efd99..a1046b7aa9653dcf6e6ef73b38f7029b8c047cd3 100644 (file)
@@ -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):
index 57cf3d9c026992ae786a6312118c2340a678b116..8036b7faaa8281a48a338339d430711c9f4b5fcb 100644 (file)
@@ -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.