[3.7] bpo-34906: Doc: Fix typos (2) (GH-9735)
(cherry picked from commit 683281f536981da395575b5a07d6761118259fd2)
diff --git a/Misc/HISTORY b/Misc/HISTORY
index d4a1b16..f4b756c 100644
--- a/Misc/HISTORY
+++ b/Misc/HISTORY
@@ -629,7 +629,7 @@
- Issue #21560: An attempt to write a data of wrong type no longer cause
GzipFile corruption. Original patch by Wolfgang Maier.
-- Issue #23647: Increase impalib's MAXLINE to accommodate modern mailbox sizes.
+- Issue #23647: Increase imaplib's MAXLINE to accommodate modern mailbox sizes.
- Issue #23539: If body is None, http.client.HTTPConnection.request now sets
Content-Length to 0 for PUT, POST, and PATCH headers to avoid 411 errors from
@@ -677,7 +677,7 @@
- Issue #23521: Corrected pure python implementation of timedelta division.
* Eliminated OverflowError from timedelta * float for some floats;
- * Corrected rounding in timedlta true division.
+ * Corrected rounding in timedelta true division.
- Issue #21619: Popen objects no longer leave a zombie after exit in the with
statement if the pipe was broken. Patch by Martin Panter.
@@ -966,7 +966,7 @@
returned NotImplemented. Original patch by Martin Panter.
- Issue #23321: Fixed a crash in str.decode() when error handler returned
- replacment string longer than mailformed input data.
+ replacement string longer than malformed input data.
- Issue #23048: Fix jumping out of an infinite while loop in the pdb.
@@ -1042,7 +1042,7 @@
- Issue #23250: In the http.cookies module, capitalize "HttpOnly" and "Secure"
as they are written in the standard.
-- Issue #23063: In the disutils' check command, fix parsing of reST with code or
+- Issue #23063: In the distutils' check command, fix parsing of reST with code or
code-block directives.
- Issue #23209, #23225: selectors.BaseSelector.close() now clears its internal
@@ -9956,7 +9956,7 @@
ensure that it will be found regardless of the shell PATH. This ensures
that multiprocessing.cpu_count works on default installs of MacOSX.
-- Issue #11501: disutils.archive_utils.make_zipfile no longer fails if zlib is
+- Issue #11501: distutils.archive_utils.make_zipfile no longer fails if zlib is
not installed. Instead, the zipfile.ZIP_STORED compression is used to create
the ZipFile. Patch by Natalia B. Bidart.
diff --git a/Misc/NEWS.d/3.5.0a1.rst b/Misc/NEWS.d/3.5.0a1.rst
index f5e1e5a..7eb8326 100644
--- a/Misc/NEWS.d/3.5.0a1.rst
+++ b/Misc/NEWS.d/3.5.0a1.rst
@@ -75,8 +75,8 @@
.. nonce: HQelge
.. section: Core and Builtins
-Fixed a crash in str.decode() when error handler returned replacment string
-longer than mailformed input data.
+Fixed a crash in str.decode() when error handler returned replacement string
+longer than malformed input data.
..
@@ -998,7 +998,7 @@
.. nonce: 9-UJRs
.. section: Library
-In the disutils' check command, fix parsing of reST with code or code-block
+In the distutils' check command, fix parsing of reST with code or code-block
directives.
..
@@ -2877,7 +2877,7 @@
.. nonce: nkBNci
.. section: Library
-Reprs of most Python implemened classes now contain actual class name
+Reprs of most Python implemented classes now contain actual class name
instead of hardcoded one.
..
@@ -3036,7 +3036,7 @@
os.read() now uses a :c:func:`Py_ssize_t` type instead of :c:type:`int` for
the size to support reading more than 2 GB at once. On Windows, the size is
-truncted to INT_MAX. As any call to os.read(), the OS may read less bytes
+truncated to INT_MAX. As any call to os.read(), the OS may read less bytes
than the number of requested bytes.
..
diff --git a/Misc/NEWS.d/3.5.0a2.rst b/Misc/NEWS.d/3.5.0a2.rst
index 80bf9e8..b16acdb 100644
--- a/Misc/NEWS.d/3.5.0a2.rst
+++ b/Misc/NEWS.d/3.5.0a2.rst
@@ -114,7 +114,7 @@
Corrected pure python implementation of timedelta division.
Eliminated OverflowError from ``timedelta * float`` for some floats;
-Corrected rounding in timedlta true division.
+Corrected rounding in timedelta true division.
..
diff --git a/Misc/NEWS.d/3.5.0a3.rst b/Misc/NEWS.d/3.5.0a3.rst
index 2c62799..0e5d7c5 100644
--- a/Misc/NEWS.d/3.5.0a3.rst
+++ b/Misc/NEWS.d/3.5.0a3.rst
@@ -239,7 +239,7 @@
.. nonce: pX2qrx
.. section: Library
-Increase impalib's MAXLINE to accommodate modern mailbox sizes.
+Increase imaplib's MAXLINE to accommodate modern mailbox sizes.
..
diff --git a/Misc/NEWS.d/3.5.0a4.rst b/Misc/NEWS.d/3.5.0a4.rst
index 9b162bb..eb63a83 100644
--- a/Misc/NEWS.d/3.5.0a4.rst
+++ b/Misc/NEWS.d/3.5.0a4.rst
@@ -482,7 +482,7 @@
.. nonce: 89RHm-
.. section: Library
-Fixed 2to3 and 3to2 compatible pickle mappings. Fixed ambigious reverse
+Fixed 2to3 and 3to2 compatible pickle mappings. Fixed ambiguous reverse
mappings. Added many new mappings. Import mapping is no longer applied to
modules already mapped with full name mapping.
diff --git a/Misc/NEWS.d/3.5.1rc1.rst b/Misc/NEWS.d/3.5.1rc1.rst
index bb2d84a..efefaa1 100644
--- a/Misc/NEWS.d/3.5.1rc1.rst
+++ b/Misc/NEWS.d/3.5.1rc1.rst
@@ -191,7 +191,7 @@
Hide the private _Py_atomic_xxx symbols from the public Python.h header to
fix a compilation error with OpenMP. PyThreadState_GET() becomes an alias to
-PyThreadState_Get() to avoid ABI incompatibilies.
+PyThreadState_Get() to avoid ABI incompatibilities.
..
diff --git a/Misc/NEWS.d/3.5.2rc1.rst b/Misc/NEWS.d/3.5.2rc1.rst
index 6a07020..3d513b3 100644
--- a/Misc/NEWS.d/3.5.2rc1.rst
+++ b/Misc/NEWS.d/3.5.2rc1.rst
@@ -1366,7 +1366,7 @@
.. nonce: AtHkWA
.. section: Library
-Copying the lru_cache() wrapper object now always works, independedly from
+Copying the lru_cache() wrapper object now always works, independently from
the type of the wrapped object (by returning the original object unchanged).
..
diff --git a/Misc/NEWS.d/3.5.3rc1.rst b/Misc/NEWS.d/3.5.3rc1.rst
index 99b4675..bca43c8 100644
--- a/Misc/NEWS.d/3.5.3rc1.rst
+++ b/Misc/NEWS.d/3.5.3rc1.rst
@@ -1036,7 +1036,7 @@
.. nonce: WI70Tc
.. section: Library
-Add ChaCha20 Poly1305 to ssl module's default ciper list. (Required OpenSSL
+Add ChaCha20 Poly1305 to ssl module's default cipher list. (Required OpenSSL
1.1.0 or LibreSSL).
..
diff --git a/Misc/NEWS.d/3.5.4rc1.rst b/Misc/NEWS.d/3.5.4rc1.rst
index 5678ff2..0eb85d1 100644
--- a/Misc/NEWS.d/3.5.4rc1.rst
+++ b/Misc/NEWS.d/3.5.4rc1.rst
@@ -36,7 +36,7 @@
Fix urllib.parse.splithost() to correctly parse fragments. For example,
``splithost('//127.0.0.1#@evil.com/')`` now correctly returns the
``127.0.0.1`` host, instead of treating ``@evil.com`` as the host in an
-authentification (``login@host``).
+authentication (``login@host``).
..
diff --git a/Misc/NEWS.d/3.6.0a1.rst b/Misc/NEWS.d/3.6.0a1.rst
index 62bfd4e..254d361 100644
--- a/Misc/NEWS.d/3.6.0a1.rst
+++ b/Misc/NEWS.d/3.6.0a1.rst
@@ -2684,7 +2684,7 @@
.. nonce: ebqGy-
.. section: Library
-Add an optional newline paramer to binascii.b2a_base64(). base64.b64encode()
+Add an optional newline parameter to binascii.b2a_base64(). base64.b64encode()
uses it to avoid a memory copy.
..
@@ -3938,4 +3938,4 @@
ValueError is now raised instead of TypeError on buffer overflow in parsing
"es#" and "et#" format units. SystemError is now raised instead of
-TypeError on programmical error in parsing format string.
+TypeError on programmatical error in parsing format string.
diff --git a/Misc/NEWS.d/3.6.0a2.rst b/Misc/NEWS.d/3.6.0a2.rst
index 46387a5..9e7326b 100644
--- a/Misc/NEWS.d/3.6.0a2.rst
+++ b/Misc/NEWS.d/3.6.0a2.rst
@@ -126,7 +126,7 @@
.. nonce: ffzxpX
.. section: Library
-Generated names for Tkinter widgets are now more meanful and recognizirable.
+Generated names for Tkinter widgets are now more meaningful and recognizable.
..
@@ -516,7 +516,7 @@
IDLE requires tk 8.5 and availability ttk widgets. Delete now unneeded tk
version tests and code for older versions. Add test for IDLE syntax
-colorizoer.
+colorizer.
..
@@ -534,7 +534,7 @@
.. nonce: t7ckly
.. section: IDLE
-move Aqua unbinding code, which enable context menus, to maxosx.
+move Aqua unbinding code, which enable context menus, to macosx.
..
diff --git a/Misc/NEWS.d/3.6.0a3.rst b/Misc/NEWS.d/3.6.0a3.rst
index 251e6aa..2ca2580 100644
--- a/Misc/NEWS.d/3.6.0a3.rst
+++ b/Misc/NEWS.d/3.6.0a3.rst
@@ -476,7 +476,7 @@
Rename the platform directory from plat-$(MACHDEP) to
plat-$(PLATFORM_TRIPLET). Rename the config directory (LIBPL) from
config-$(LDVERSION) to config-$(LDVERSION)-$(PLATFORM_TRIPLET). Install the
-platform specifc _sysconfigdata module into the platform directory and
+platform specific _sysconfigdata module into the platform directory and
rename it to include the ABIFLAGS.
..
diff --git a/Misc/NEWS.d/3.6.0a4.rst b/Misc/NEWS.d/3.6.0a4.rst
index 07e20e4..0be9c82 100644
--- a/Misc/NEWS.d/3.6.0a4.rst
+++ b/Misc/NEWS.d/3.6.0a4.rst
@@ -487,7 +487,7 @@
.. section: IDLE
Put query response validation error messages in the query box itself instead
-of in a separate massagebox. Redo tests to match. Add Mac OSX refinements.
+of in a separate messagebox. Redo tests to match. Add Mac OSX refinements.
Original patch by Mark Roseman.
..
diff --git a/Misc/NEWS.d/3.6.0b1.rst b/Misc/NEWS.d/3.6.0b1.rst
index 476059f..f151557 100644
--- a/Misc/NEWS.d/3.6.0b1.rst
+++ b/Misc/NEWS.d/3.6.0b1.rst
@@ -958,7 +958,7 @@
.. nonce: WI70Tc
.. section: Library
-Add ChaCha20 Poly1305 to ssl module's default ciper list. (Required OpenSSL
+Add ChaCha20 Poly1305 to ssl module's default cipher list. (Required OpenSSL
1.1.0 or LibreSSL).
..
diff --git a/Misc/NEWS.d/3.6.2rc2.rst b/Misc/NEWS.d/3.6.2rc2.rst
index 45be03e..8c6545f 100644
--- a/Misc/NEWS.d/3.6.2rc2.rst
+++ b/Misc/NEWS.d/3.6.2rc2.rst
@@ -36,4 +36,4 @@
Fix urllib.parse.splithost() to correctly parse fragments. For example,
``splithost('//127.0.0.1#@evil.com/')`` now correctly returns the
``127.0.0.1`` host, instead of treating ``@evil.com`` as the host in an
-authentification (``login@host``).
+authentication (``login@host``).
diff --git a/Misc/NEWS.d/3.6.3rc1.rst b/Misc/NEWS.d/3.6.3rc1.rst
index 2fc3c08..ca812c6 100644
--- a/Misc/NEWS.d/3.6.3rc1.rst
+++ b/Misc/NEWS.d/3.6.3rc1.rst
@@ -517,7 +517,7 @@
.. section: Library
multiprocessing.Queue.get() with a timeout now polls its reader in
-non-blocking mode if it succeeded to aquire the lock but the acquire took
+non-blocking mode if it succeeded to acquire the lock but the acquire took
longer than the timeout.
..
@@ -818,7 +818,7 @@
Document how IDLE runs tkinter programs. IDLE calls tcl/tk update in the
background in order to make live
-interaction and experimentatin with tkinter applications much easier.
+interaction and experimentation with tkinter applications much easier.
..
@@ -837,7 +837,7 @@
.. nonce: 50Jp_Q
.. section: IDLE
-Rearrange IDLE condigdialog GenPage into Window, Editor, and Help sections.
+Rearrange IDLE configdialog GenPage into Window, Editor, and Help sections.
..
diff --git a/Misc/NEWS.d/3.6.4rc1.rst b/Misc/NEWS.d/3.6.4rc1.rst
index c91cc62..ff7110f 100644
--- a/Misc/NEWS.d/3.6.4rc1.rst
+++ b/Misc/NEWS.d/3.6.4rc1.rst
@@ -758,7 +758,7 @@
.. nonce: 91mhWm
.. section: Documentation
-Added asyncio.BaseEventLoop.connect_accepted_socket versionaddded marker.
+Added asyncio.BaseEventLoop.connect_accepted_socket versionadded marker.
..
@@ -974,7 +974,7 @@
.. nonce: VuSA_e
.. section: IDLE
-IDLE -- Restrict shell prompt manipulaton to the shell. Editor and output
+IDLE -- Restrict shell prompt manipulation to the shell. Editor and output
windows only see an empty last prompt line. This simplifies the code and
fixes a minor bug when newline is inserted. Sys.ps1, if present, is read on
Shell start-up, but is not set or changed.
diff --git a/Misc/NEWS.d/3.6.6rc1.rst b/Misc/NEWS.d/3.6.6rc1.rst
index 85428d8..f603876 100644
--- a/Misc/NEWS.d/3.6.6rc1.rst
+++ b/Misc/NEWS.d/3.6.6rc1.rst
@@ -861,7 +861,7 @@
.. nonce: dL5x7C
.. section: Tools/Demos
-Add an ``-n`` flag for ``Tools/scripts/pathfix.py`` to disbale automatic
+Add an ``-n`` flag for ``Tools/scripts/pathfix.py`` to disable automatic
backup creation (files with ``~`` suffix).
..
diff --git a/Misc/NEWS.d/3.7.0a1.rst b/Misc/NEWS.d/3.7.0a1.rst
index 2f4e750..0c13bf0 100644
--- a/Misc/NEWS.d/3.7.0a1.rst
+++ b/Misc/NEWS.d/3.7.0a1.rst
@@ -65,7 +65,7 @@
Fix urllib.parse.splithost() to correctly parse fragments. For example,
``splithost('//127.0.0.1#@evil.com/')`` now correctly returns the
``127.0.0.1`` host, instead of treating ``@evil.com`` as the host in an
-authentification (``login@host``).
+authentication (``login@host``).
..
@@ -3406,7 +3406,7 @@
.. nonce: 4f5gbp
.. section: Library
-urrlib.parse.quote is now based on RFC 3986 and hence includes '~' in the
+urllib.parse.quote is now based on RFC 3986 and hence includes '~' in the
set of characters that is not quoted by default. Patch by Christian Theune
and Ratnadeep Debnath.
@@ -5711,7 +5711,7 @@
Document how IDLE runs tkinter programs. IDLE calls tcl/tk update in the
background in order to make live
-interaction and experimentatin with tkinter applications much easier.
+interaction and experimentation with tkinter applications much easier.
..
@@ -5730,7 +5730,7 @@
.. nonce: 50Jp_Q
.. section: IDLE
-Rearrange IDLE condigdialog GenPage into Window, Editor, and Help sections.
+Rearrange IDLE configdialog GenPage into Window, Editor, and Help sections.
..
diff --git a/Misc/NEWS.d/3.7.0a3.rst b/Misc/NEWS.d/3.7.0a3.rst
index f8ab97c..176441e 100644
--- a/Misc/NEWS.d/3.7.0a3.rst
+++ b/Misc/NEWS.d/3.7.0a3.rst
@@ -636,7 +636,7 @@
Formally deprecated aifc.openfp, sunau.openfp, and wave.openfp. Since change
7bc817d5ba917528e8bd07ec461c635291e7b06a in 1993, openfp in each of the
-three modules had been pointing to that module's open funciton as a matter
+three modules had been pointing to that module's open function as a matter
of backwards compatibility, though it had been both untested and
undocumented.
@@ -809,7 +809,7 @@
.. nonce: bjhre9
.. section: Library
-added required constants to subprocess module for setting priotity on
+added required constants to subprocess module for setting priority on
windows
..
@@ -1217,7 +1217,7 @@
.. nonce: 91mhWm
.. section: Documentation
-Added asyncio.BaseEventLoop.connect_accepted_socket versionaddded marker.
+Added asyncio.BaseEventLoop.connect_accepted_socket versionadded marker.
..
@@ -1494,7 +1494,7 @@
.. nonce: VuSA_e
.. section: IDLE
-IDLE -- Restrict shell prompt manipulaton to the shell. Editor and output
+IDLE -- Restrict shell prompt manipulation to the shell. Editor and output
windows only see an empty last prompt line. This simplifies the code and
fixes a minor bug when newline is inserted. Sys.ps1, if present, is read on
Shell start-up, but is not set or changed.
diff --git a/Misc/NEWS.d/3.7.0b2.rst b/Misc/NEWS.d/3.7.0b2.rst
index 7d13712..10d00a5 100644
--- a/Misc/NEWS.d/3.7.0b2.rst
+++ b/Misc/NEWS.d/3.7.0b2.rst
@@ -399,7 +399,7 @@
.. nonce: ideco_
.. section: Library
-Various functions returning tuple containig IPv6 addresses now omit
+Various functions returning tuple containing IPv6 addresses now omit
``%scope`` part since the same information is already encoded in *scopeid*
tuple item. Especially this speeds up :func:`socket.recvfrom` when it
receives multicast packet since useless resolving of network interface name
diff --git a/Misc/NEWS.d/3.7.0b3.rst b/Misc/NEWS.d/3.7.0b3.rst
index fc5492c..547fb50 100644
--- a/Misc/NEWS.d/3.7.0b3.rst
+++ b/Misc/NEWS.d/3.7.0b3.rst
@@ -295,7 +295,7 @@
.. nonce: lgFXWl
.. section: Library
-Fix C implemetation of ``ABC.__subclasscheck__(cls, subclass)`` crashed when
+Fix C implementation of ``ABC.__subclasscheck__(cls, subclass)`` crashed when
``subclass`` is not a type object.
..
@@ -517,7 +517,7 @@
.. nonce: dL5x7C
.. section: Tools/Demos
-Add an ``-n`` flag for ``Tools/scripts/pathfix.py`` to disbale automatic
+Add an ``-n`` flag for ``Tools/scripts/pathfix.py`` to disable automatic
backup creation (files with ``~`` suffix).
..
diff --git a/Misc/NEWS.d/3.7.0b5.rst b/Misc/NEWS.d/3.7.0b5.rst
index b420496..4fe3ed5 100644
--- a/Misc/NEWS.d/3.7.0b5.rst
+++ b/Misc/NEWS.d/3.7.0b5.rst
@@ -244,7 +244,7 @@
.. section: Library
Change TLS 1.3 cipher suite settings for compatibility with OpenSSL
-1.1.1-pre6 and newer. OpenSSL 1.1.1 will have TLS 1.3 cipers enabled by
+1.1.1-pre6 and newer. OpenSSL 1.1.1 will have TLS 1.3 ciphers enabled by
default.
..