]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
Issues #26310, #26311: Fix typos in the documentation
authorMartin Panter <vadmium+py@gmail.com>
Wed, 10 Feb 2016 01:17:51 +0000 (01:17 +0000)
committerMartin Panter <vadmium+py@gmail.com>
Wed, 10 Feb 2016 01:17:51 +0000 (01:17 +0000)
Doc/library/pyexpat.rst
Doc/library/ttk.rst
Lib/SocketServer.py
Lib/idlelib/NEWS.txt
Lib/idlelib/help.py
Misc/NEWS

index 5876d1dbef5f12172445b0a6641e73b2c05cc1de..0c8e7fc2a6774a685e4799c1895b5906cecacecb 100644 (file)
@@ -595,9 +595,9 @@ Content Model Descriptions
 .. sectionauthor:: Fred L. Drake, Jr. <fdrake@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
index ad4aa9263496c500a5333224f81789c5604f7d38..051601d83e23732b032f885cb4f4bcffe36feb48 100644 (file)
@@ -293,7 +293,7 @@ Besides the methods inherited from :class:`Widget` (:meth:`Widget.cget`,
 :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`.
 
index 23ce6fc3012d82a24d00c507fa24ae8b393ba94c..33f7fb482ac08e1c6a3652baf6d5c6bae0cc899b 100644 (file)
@@ -642,7 +642,7 @@ class BaseRequestHandler:
     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.
 
     """
 
index e9e95fd8d2e19ebdafd03728120b647ff329d3df..3336e2f3bef1edcda874c2a24c676566a0fa902f 100644 (file)
@@ -162,7 +162,7 @@ What's New in IDLE 2.7.9?
   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?
index 6398c77586da4e841e0e75f2351039d5e2af0890..b0e9dc59c4d79e8210694df531099e837686f9c9 100644 (file)
@@ -11,7 +11,7 @@ Help => IDLE Help: Display help.html with proper formatting.
 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.
 
index 7ae83ffe26aa4ad90e3a1ffb765cd70b0ca194eb..a8a4ad16eb7bc7d0bc754e4b26289efaea87952d 100644 (file)
--- a/Misc/NEWS
+++ b/Misc/NEWS
@@ -1159,7 +1159,7 @@ IDLE
   move version to end.
 
 - Issue #14105: Idle debugger breakpoints no longer disappear
-  when inseting or deleting lines.
+  when inserting or deleting lines.
 
 Extension Modules
 -----------------