Skip to content

Commit 683281f

Browse files
matrixiseJulienPalard
authored andcommitted
bpo-34906: Doc: Fix typos (2) (GH-9735)
Fix typos
1 parent ae62f01 commit 683281f

38 files changed

+63
-63
lines changed

Doc/whatsnew/3.3.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -303,7 +303,7 @@ The launcher can also be used explicitly from the command line as the ``py``
303303
application. Running ``py`` follows the same version selection rules as
304304
implicitly launching scripts, but a more specific version can be selected
305305
by passing appropriate arguments (such as ``-3`` to request Python 3 when
306-
Python 2 is also installed, or ``-2.6`` to specifclly request an earlier
306+
Python 2 is also installed, or ``-2.6`` to specifically request an earlier
307307
Python version when a more recent version is installed).
308308

309309
In addition to the launcher, the Windows installer now includes an
@@ -2386,7 +2386,7 @@ Porting Python code
23862386
finder, you will need to remove keys paired with values of ``None`` **and**
23872387
:class:`imp.NullImporter` to be backwards-compatible. This will lead to extra
23882388
overhead on older versions of Python that re-insert ``None`` into
2389-
:attr:`sys.path_importer_cache` where it repesents the use of implicit
2389+
:attr:`sys.path_importer_cache` where it represents the use of implicit
23902390
finders, but semantically it should not change anything.
23912391

23922392
* :class:`importlib.abc.Finder` no longer specifies a `find_module()` abstract

Doc/whatsnew/3.5.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2471,7 +2471,7 @@ Changes in the Python API
24712471
parameter to help control the ``opt-`` tag. Because of this, the
24722472
*debug_override* parameter of the function is now deprecated. `.pyo` files
24732473
are also no longer supported as a file argument to the Python interpreter and
2474-
thus serve no purpose when distributed on their own (i.e. sourcless code
2474+
thus serve no purpose when distributed on their own (i.e. sourceless code
24752475
distribution). Due to the fact that the magic number for bytecode has changed
24762476
in Python 3.5, all old `.pyo` files from previous versions of Python are
24772477
invalid regardless of this PEP.

Doc/whatsnew/3.7.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1355,7 +1355,7 @@ feature. Instances must be created with :class:`~ssl.SSLContext` methods
13551355
OpenSSL 1.1 APIs for setting the minimum and maximum TLS protocol version are
13561356
available as :attr:`SSLContext.minimum_version <ssl.SSLContext.minimum_version>`
13571357
and :attr:`SSLContext.maximum_version <ssl.SSLContext.maximum_version>`.
1358-
Supported protocols are indicated by serveral new flags, such as
1358+
Supported protocols are indicated by several new flags, such as
13591359
:data:`~ssl.HAS_TLSv1_1`.
13601360
(Contributed by Christian Heimes in :issue:`32609`.)
13611361

@@ -2023,7 +2023,7 @@ Use :mod:`threading` instead.
20232023
socket
20242024
------
20252025

2026-
The silent argument value trunctation in :func:`socket.htons` and
2026+
The silent argument value truncation in :func:`socket.htons` and
20272027
:func:`socket.ntohs` has been deprecated. In future versions of Python,
20282028
if the passed argument is larger than 16 bits, an exception will be raised.
20292029
(Contributed by Oren Milman in :issue:`28332`.)

Lib/idlelib/NEWS.txt

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -222,7 +222,7 @@ To see the example in action, enable it on options extensions tab.
222222

223223
bpo-31421: Document how IDLE runs tkinter programs.
224224
IDLE calls tcl/tk update in the background in order to make live
225-
interaction and experimentatin with tkinter applications much easier.
225+
interaction and experimentation with tkinter applications much easier.
226226

227227
bpo-31414: Fix tk entry box tests by deleting first.
228228
Adding to an int entry is not the same as deleting and inserting
@@ -460,7 +460,7 @@ Released on 2016-12-23
460460
-w option but without -jn. Fix warning from test_config.
461461

462462
- Issue #27621: Put query response validation error messages in the query
463-
box itself instead of in a separate massagebox. Redo tests to match.
463+
box itself instead of in a separate messagebox. Redo tests to match.
464464
Add Mac OSX refinements. Original patch by Mark Roseman.
465465

466466
- Issue #27620: Escape key now closes Query box as cancelled.
@@ -526,7 +526,7 @@ Released on 2016-12-23
526526

527527
- Issue #27239: idlelib.macosx.isXyzTk functions initialize as needed.
528528

529-
- Issue #27262: move Aqua unbinding code, which enable context menus, to maxosx.
529+
- Issue #27262: move Aqua unbinding code, which enable context menus, to macosx.
530530

531531
- Issue #24759: Make clear in idlelib.idle_test.__init__ that the directory
532532
is a private implementation of test.test_idle and tool for maintainers.

Misc/HISTORY

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -629,7 +629,7 @@ Library
629629
- Issue #21560: An attempt to write a data of wrong type no longer cause
630630
GzipFile corruption. Original patch by Wolfgang Maier.
631631

632-
- Issue #23647: Increase impalib's MAXLINE to accommodate modern mailbox sizes.
632+
- Issue #23647: Increase imaplib's MAXLINE to accommodate modern mailbox sizes.
633633

634634
- Issue #23539: If body is None, http.client.HTTPConnection.request now sets
635635
Content-Length to 0 for PUT, POST, and PATCH headers to avoid 411 errors from
@@ -677,7 +677,7 @@ Library
677677
- Issue #23521: Corrected pure python implementation of timedelta division.
678678

679679
* Eliminated OverflowError from timedelta * float for some floats;
680-
* Corrected rounding in timedlta true division.
680+
* Corrected rounding in timedelta true division.
681681

682682
- Issue #21619: Popen objects no longer leave a zombie after exit in the with
683683
statement if the pipe was broken. Patch by Martin Panter.
@@ -966,7 +966,7 @@ Core and Builtins
966966
returned NotImplemented. Original patch by Martin Panter.
967967

968968
- Issue #23321: Fixed a crash in str.decode() when error handler returned
969-
replacment string longer than mailformed input data.
969+
replacement string longer than malformed input data.
970970

971971
- Issue #23048: Fix jumping out of an infinite while loop in the pdb.
972972

@@ -1042,7 +1042,7 @@ Library
10421042
- Issue #23250: In the http.cookies module, capitalize "HttpOnly" and "Secure"
10431043
as they are written in the standard.
10441044

1045-
- Issue #23063: In the disutils' check command, fix parsing of reST with code or
1045+
- Issue #23063: In the distutils' check command, fix parsing of reST with code or
10461046
code-block directives.
10471047

10481048
- Issue #23209, #23225: selectors.BaseSelector.close() now clears its internal
@@ -9956,7 +9956,7 @@ Library
99569956
ensure that it will be found regardless of the shell PATH. This ensures
99579957
that multiprocessing.cpu_count works on default installs of MacOSX.
99589958

9959-
- Issue #11501: disutils.archive_utils.make_zipfile no longer fails if zlib is
9959+
- Issue #11501: distutils.archive_utils.make_zipfile no longer fails if zlib is
99609960
not installed. Instead, the zipfile.ZIP_STORED compression is used to create
99619961
the ZipFile. Patch by Natalia B. Bidart.
99629962

Misc/NEWS.d/3.5.0a1.rst

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -75,8 +75,8 @@ NotImplemented. Original patch by Martin Panter.
7575
.. nonce: HQelge
7676
.. section: Core and Builtins
7777
78-
Fixed a crash in str.decode() when error handler returned replacment string
79-
longer than mailformed input data.
78+
Fixed a crash in str.decode() when error handler returned replacement string
79+
longer than malformed input data.
8080

8181
..
8282
@@ -998,7 +998,7 @@ written in the standard.
998998
.. nonce: 9-UJRs
999999
.. section: Library
10001000
1001-
In the disutils' check command, fix parsing of reST with code or code-block
1001+
In the distutils' check command, fix parsing of reST with code or code-block
10021002
directives.
10031003

10041004
..
@@ -2877,7 +2877,7 @@ closed socket. repr(socket.socket) already works fine.
28772877
.. nonce: nkBNci
28782878
.. section: Library
28792879
2880-
Reprs of most Python implemened classes now contain actual class name
2880+
Reprs of most Python implemented classes now contain actual class name
28812881
instead of hardcoded one.
28822882

28832883
..
@@ -3036,7 +3036,7 @@ by Phil Elson.
30363036
30373037
os.read() now uses a :c:func:`Py_ssize_t` type instead of :c:type:`int` for
30383038
the size to support reading more than 2 GB at once. On Windows, the size is
3039-
truncted to INT_MAX. As any call to os.read(), the OS may read less bytes
3039+
truncated to INT_MAX. As any call to os.read(), the OS may read less bytes
30403040
than the number of requested bytes.
30413041

30423042
..

Misc/NEWS.d/3.5.0a2.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -114,7 +114,7 @@ Lawrence.
114114
Corrected pure python implementation of timedelta division.
115115

116116
Eliminated OverflowError from ``timedelta * float`` for some floats;
117-
Corrected rounding in timedlta true division.
117+
Corrected rounding in timedelta true division.
118118

119119
..
120120

Misc/NEWS.d/3.5.0a3.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -239,7 +239,7 @@ Added support for writing ZIP files to unseekable streams.
239239
.. nonce: pX2qrx
240240
.. section: Library
241241
242-
Increase impalib's MAXLINE to accommodate modern mailbox sizes.
242+
Increase imaplib's MAXLINE to accommodate modern mailbox sizes.
243243

244244
..
245245

Misc/NEWS.d/3.5.0a4.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -482,7 +482,7 @@ sqlite3.Row now supports slice indexing.
482482
.. nonce: 89RHm-
483483
.. section: Library
484484
485-
Fixed 2to3 and 3to2 compatible pickle mappings. Fixed ambigious reverse
485+
Fixed 2to3 and 3to2 compatible pickle mappings. Fixed ambiguous reverse
486486
mappings. Added many new mappings. Import mapping is no longer applied to
487487
modules already mapped with full name mapping.
488488

Misc/NEWS.d/3.5.1rc1.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -191,7 +191,7 @@ comprehensions correspond to the opening brace.
191191
192192
Hide the private _Py_atomic_xxx symbols from the public Python.h header to
193193
fix a compilation error with OpenMP. PyThreadState_GET() becomes an alias to
194-
PyThreadState_Get() to avoid ABI incompatibilies.
194+
PyThreadState_Get() to avoid ABI incompatibilities.
195195

196196
..
197197

0 commit comments

Comments
 (0)