]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
Fix some spelling errors in documentation and code comments
authorMartin Panter <vadmium+py@gmail.com>
Sat, 31 Oct 2015 11:48:53 +0000 (11:48 +0000)
committerMartin Panter <vadmium+py@gmail.com>
Sat, 31 Oct 2015 11:48:53 +0000 (11:48 +0000)
Doc/library/ssl.rst
Doc/library/tracemalloc.rst
Doc/whatsnew/3.4.rst
Lib/html/entities.py
Misc/HISTORY
Misc/NEWS

index 233de8dd9107d7c85c4685255c03629a5feb2d18..b0cf4ebd83921fb0c0124454becaae77b903bcdf 100644 (file)
@@ -827,7 +827,7 @@ SSL sockets also have the following additional methods and attributes:
 
    The :meth:`~SSLSocket.read` and :meth:`~SSLSocket.write` methods are the
    low-level methods that read and write unencrypted, application-level data
-   and and decrypt/encrypt it to encrypted, wire-level data. These methods
+   and decrypt/encrypt it to encrypted, wire-level data. These methods
    require an active SSL connection, i.e. the handshake was completed and
    :meth:`SSLSocket.unwrap` was not called.
 
index a04a4327167b8119cf67d732ed8521138eab24f2..cd62e556fb9666ae8023cf9fb7b20a8ff609b19e 100644 (file)
@@ -460,7 +460,7 @@ Snapshot
 
       All inclusive filters are applied at once, a trace is ignored if no
       inclusive filters match it. A trace is ignored if at least one exclusive
-      filter matchs it.
+      filter matches it.
 
 
    .. classmethod:: load(filename)
index 7faea321919a23b2119edc59cf08c9f09d2c5668..7d9bc0d8af0d7edda147b0502f23e2f904f48541 100644 (file)
@@ -2076,7 +2076,7 @@ using ``-Wd``).
 Deprecations in the Python API
 ------------------------------
 
-* As mentioned in :ref:`whatsnew-pep-451`, a number of :mod:`importilb`
+* As mentioned in :ref:`whatsnew-pep-451`, a number of :mod:`importlib`
   methods and functions are deprecated: :meth:`importlib.find_loader` is
   replaced by :func:`importlib.util.find_spec`;
   :meth:`importlib.machinery.PathFinder.find_module` is replaced by
index f7deae6eb04e8f394a5a0cb5cada19296f02840d..be3f627c8f591d719f47f1e53d7fe0d966a9448c 100644 (file)
@@ -221,7 +221,7 @@ name2codepoint = {
     'spades':   0x2660, # black spade suit, U+2660 ISOpub
     'sub':      0x2282, # subset of, U+2282 ISOtech
     'sube':     0x2286, # subset of or equal to, U+2286 ISOtech
-    'sum':      0x2211, # n-ary sumation, U+2211 ISOamsb
+    'sum':      0x2211, # n-ary summation, U+2211 ISOamsb
     'sup':      0x2283, # superset of, U+2283 ISOtech
     'sup1':     0x00b9, # superscript one = superscript digit one, U+00B9 ISOnum
     'sup2':     0x00b2, # superscript two = superscript digit two = squared, U+00B2 ISOnum
index 595795682d2c9f53152d728a69be5ebadafaa077..a0539621721da3acde48a4f02adcdb6bdc3a18cb 100644 (file)
@@ -1966,7 +1966,7 @@ Core and Builtins
   change also applies to bytes.splitlines and bytearray.splitlines.
 
 - Issue #7732: Don't open a directory as a file anymore while importing a
-  module. Ignore the direcotry if its name matchs the module name (e.g.
+  module. Ignore the directory if its name matches the module name (e.g.
   "__init__.py") and raise a ImportError instead.
 
 - Issue #13021: Missing decref on an error path.  Thanks to Suman Saha for
index 3d4cbcb578bc4b123649762cc8642ea944e49322..d2bb816b14d209e3fba4dfe7d510f22d16814ee3 100644 (file)
--- a/Misc/NEWS
+++ b/Misc/NEWS
@@ -1403,7 +1403,7 @@ Library
 
 - Issue #21402: tkinter.ttk now works when default root window is not set.
 
-- Issue #10203: sqlite3.Row now truly supports sequence protocol.  In particulr
+- Issue #10203: sqlite3.Row now truly supports sequence protocol.  In particular
   it supports reverse() and negative indices.  Original patch by Claudiu Popa.
 
 - Issue #18807: If copying (no symlinks) specified for a venv, then the python