[Python-checkins] cpython (3.5): Correct spelling in documentation and code comment
martin.panter
python-checkins at python.org
Sat Sep 10 06:47:30 EDT 2016
https://hg.python.org/cpython/rev/f8e0ec74dca5
changeset: 103569:f8e0ec74dca5
branch: 3.5
parent: 103562:4df2d43e995d
user: Martin Panter <vadmium+py at gmail.com>
date: Sat Sep 10 10:38:28 2016 +0000
summary:
Correct spelling in documentation and code comment
files:
Doc/whatsnew/2.2.rst | 4 ++--
Lib/test/test_os.py | 2 +-
Lib/turtle.py | 2 +-
3 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/Doc/whatsnew/2.2.rst b/Doc/whatsnew/2.2.rst
--- a/Doc/whatsnew/2.2.rst
+++ b/Doc/whatsnew/2.2.rst
@@ -1159,7 +1159,7 @@
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 @@
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.
diff --git a/Lib/test/test_os.py b/Lib/test/test_os.py
--- a/Lib/test/test_os.py
+++ b/Lib/test/test_os.py
@@ -1471,7 +1471,7 @@
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
--- a/Lib/turtle.py
+++ b/Lib/turtle.py
@@ -1035,7 +1035,7 @@
"""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.
--
Repository URL: https://hg.python.org/cpython
More information about the Python-checkins
mailing list