summaryrefslogtreecommitdiffstats
path: root/Lib
diff options
context:
space:
mode:
authorMartin Panter <vadmium+py@gmail.com>2016-02-10 01:17:51 (GMT)
committerMartin Panter <vadmium+py@gmail.com>2016-02-10 01:17:51 (GMT)
commit96a4f07107476c0038ff1302b7ef779cab07e8ae (patch)
tree209d9fe2647330179040ef4b57dc2c3617853333 /Lib
parent763f9f0d89548e02c2efcd843655944584d6d33f (diff)
downloadcpython-96a4f07107476c0038ff1302b7ef779cab07e8ae.zip
cpython-96a4f07107476c0038ff1302b7ef779cab07e8ae.tar.gz
cpython-96a4f07107476c0038ff1302b7ef779cab07e8ae.tar.bz2
Issues #26310, #26311: Fix typos in the documentation and code comments
Diffstat (limited to 'Lib')
-rw-r--r--Lib/email/headerregistry.py2
-rw-r--r--Lib/idlelib/NEWS.txt2
-rw-r--r--Lib/idlelib/help.py2
-rw-r--r--Lib/socketserver.py2
4 files changed, 4 insertions, 4 deletions
diff --git a/Lib/email/headerregistry.py b/Lib/email/headerregistry.py
index 468ca9e..4e142ee 100644
--- a/Lib/email/headerregistry.py
+++ b/Lib/email/headerregistry.py
@@ -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
diff --git a/Lib/idlelib/NEWS.txt b/Lib/idlelib/NEWS.txt
index 0eb939b..6c075a3 100644
--- a/Lib/idlelib/NEWS.txt
+++ b/Lib/idlelib/NEWS.txt
@@ -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.
diff --git a/Lib/idlelib/help.py b/Lib/idlelib/help.py
index b31596c..24665a8 100644
--- a/Lib/idlelib/help.py
+++ b/Lib/idlelib/help.py
@@ -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.
diff --git a/Lib/socketserver.py b/Lib/socketserver.py
index 0ce8e81..e16aca5 100644
--- a/Lib/socketserver.py
+++ b/Lib/socketserver.py
@@ -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.
"""