[Python-checkins] cpython (2.7): Issues #26310, #26311: Fix typos in the documentation
martin.panter
python-checkins at python.org
Mon Feb 8 20:38:39 EST 2016
https://hg.python.org/cpython/rev/8c7a8c7a02b9
changeset: 100205:8c7a8c7a02b9
branch: 2.7
parent: 100199:f9bd6ddb6ba4
user: Martin Panter <vadmium+py at gmail.com>
date: Wed Feb 10 01:17:51 2016 +0000
summary:
Issues #26310, #26311: Fix typos in the documentation
files:
Doc/library/pyexpat.rst | 4 ++--
Doc/library/ttk.rst | 2 +-
Lib/SocketServer.py | 2 +-
Lib/idlelib/NEWS.txt | 2 +-
Lib/idlelib/help.py | 2 +-
Misc/NEWS | 2 +-
6 files changed, 7 insertions(+), 7 deletions(-)
diff --git a/Doc/library/pyexpat.rst b/Doc/library/pyexpat.rst
--- a/Doc/library/pyexpat.rst
+++ b/Doc/library/pyexpat.rst
@@ -595,9 +595,9 @@
.. sectionauthor:: Fred L. Drake, Jr. <fdrake at acm.org>
-Content modules are described using nested tuples. Each tuple contains four
+Content models are described using nested tuples. Each tuple contains four
values: the type, the quantifier, the name, and a tuple of children. Children
-are simply additional content module descriptions.
+are simply additional content model descriptions.
The values of the first two fields are constants defined in the ``model`` object
of the :mod:`xml.parsers.expat` module. These constants can be collected in two
diff --git a/Doc/library/ttk.rst b/Doc/library/ttk.rst
--- a/Doc/library/ttk.rst
+++ b/Doc/library/ttk.rst
@@ -293,7 +293,7 @@
:meth:`Widget.configure`, :meth:`Widget.identify`, :meth:`Widget.instate`
and :meth:`Widget.state`) and those inherited from :class:`Entry`
(:meth:`Entry.bbox`, :meth:`Entry.delete`, :meth:`Entry.icursor`,
-:meth:`Entry.index`, :meth:`Entry.inset`, :meth:`Entry.selection`,
+:meth:`Entry.index`, :meth:`Entry.insert`, :meth:`Entry.selection`,
:meth:`Entry.xview`), this class has some other methods, described at
:class:`ttk.Combobox`.
diff --git a/Lib/SocketServer.py b/Lib/SocketServer.py
--- a/Lib/SocketServer.py
+++ b/Lib/SocketServer.py
@@ -642,7 +642,7 @@
client address as self.client_address, and the server (in case it
needs access to per-server information) as self.server. Since a
separate instance is created for each request, the handle() method
- can define arbitrary other instance variariables.
+ can define other arbitrary instance variables.
"""
diff --git a/Lib/idlelib/NEWS.txt b/Lib/idlelib/NEWS.txt
--- a/Lib/idlelib/NEWS.txt
+++ b/Lib/idlelib/NEWS.txt
@@ -162,7 +162,7 @@
move version to end.
- Issue #14105: Idle debugger breakpoints no longer disappear
- when inseting or deleting lines.
+ when inserting or deleting lines.
What's New in IDLE 2.7.8?
diff --git a/Lib/idlelib/help.py b/Lib/idlelib/help.py
--- a/Lib/idlelib/help.py
+++ b/Lib/idlelib/help.py
@@ -11,7 +11,7 @@
Doc/library/idle.rst (Sphinx)=> Doc/build/html/library/idle.html
(help.copy_strip)=> Lib/idlelib/help.html
-HelpParser - Parse help.html and and render to tk Text.
+HelpParser - Parse help.html and render to tk Text.
HelpText - Display formatted help.html.
diff --git a/Misc/NEWS b/Misc/NEWS
--- a/Misc/NEWS
+++ b/Misc/NEWS
@@ -1159,7 +1159,7 @@
move version to end.
- Issue #14105: Idle debugger breakpoints no longer disappear
- when inseting or deleting lines.
+ when inserting or deleting lines.
Extension Modules
-----------------
--
Repository URL: https://hg.python.org/cpython
More information about the Python-checkins
mailing list