]> granicus.if.org Git - python/commitdiff
Issues #26310, #26311: Fix typos in the documentation and code comments
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/tkinter.ttk.rst
Doc/whatsnew/3.5.rst
Lib/email/headerregistry.py
Lib/idlelib/NEWS.txt
Lib/idlelib/help.py
Lib/socketserver.py
Misc/NEWS

index 620ffb1cd4cb4a5287de04c6dbe56046440d09d5..bb95431a15ce2a299672c7a0468cc66d9e12aeb1 100644 (file)
@@ -570,9 +570,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
 :mod:`xml.parsers.expat.model` module.  These constants can be collected in two
index 4601171b5968b8f95a975ea5386c689cbe54447c..4efdfac8a98b9843a7d973e9a4d68da58a84beb8 100644 (file)
@@ -299,7 +299,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 the following 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`, it has some other methods, described at
 :class:`ttk.Combobox`.
 
index 53cd602098c4f036b34ddc41adefa807e70bbb88..bb520dc3983fa48ee83b1986b6e097379d5cbf27 100644 (file)
@@ -914,7 +914,7 @@ compileall
 ----------
 
 A new :mod:`compileall` option, :samp:`-j {N}`, allows to run *N* workers
-sumultaneously to perform parallel bytecode compilation.
+simultaneously to perform parallel bytecode compilation.
 The :func:`~compileall.compile_dir` function has a corresponding ``workers``
 parameter.  (Contributed by Claudiu Popa in :issue:`16104`.)
 
index 468ca9e3a0685f0c37d4d15add1e9011ab8b1724..4e142ee8dc9b1f227d423a601427043f89ef2f18 100644 (file)
@@ -16,7 +16,7 @@ from email import _header_value_parser as parser
 class Address:
 
     def __init__(self, display_name='', username='', domain='', addr_spec=None):
-        """Create an object represeting a full email address.
+        """Create an object representing a full email address.
 
         An address can have a 'display_name', a 'username', and a 'domain'.  In
         addition to specifying the username and domain separately, they may be
index 0eb939b34cdd266ca798afd762bcada53c112e70..6c075a39550aff51b8f1e966968f74387206795d 100644 (file)
@@ -149,7 +149,7 @@ What's New in IDLE 3.5.0?
   move version to end.
 
 - Issue #14105: Idle debugger breakpoints no longer disappear
-  when inseting or deleting lines.
+  when inserting or deleting lines.
 
 - Issue #17172: Turtledemo can now be run from Idle.
   Currently, the entry is on the Help menu, but it may move to Run.
index b31596c2eb60bf1b70f4d237d17702726f9d1536..24665a82e496464912e50a1ba399061d2cffb623 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 0ce8e8106581e468c58eb332a8177247473b93c9..e16aca519e877204c84405483d9561c8605ca61d 100644 (file)
@@ -671,7 +671,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 66b8d36124b59efa5fd7ee08e90a87d288881808..1d24f5063fd928b497bdab450338535efc14d897 100644 (file)
--- a/Misc/NEWS
+++ b/Misc/NEWS
@@ -3448,7 +3448,7 @@ IDLE
   move version to end.
 
 - Issue #14105: Idle debugger breakpoints no longer disappear
-  when inseting or deleting lines.
+  when inserting or deleting lines.
 
 - Issue #17172: Turtledemo can now be run from Idle.
   Currently, the entry is on the Help menu, but it may move to Run.