Skip to content

Commit a4910c2

Browse files
matrixiseJulienPalard
authored andcommitted
[3.7] bpo-34906: Doc: Fix typos (2) (GH-9735)
(cherry picked from commit 683281f)
1 parent 8e23ba0 commit a4910c2

28 files changed

+53
-53
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

@@ -2036,7 +2036,7 @@ Use :mod:`threading` instead.
20362036
socket
20372037
------
20382038

2039-
The silent argument value trunctation in :func:`socket.htons` and
2039+
The silent argument value truncation in :func:`socket.htons` and
20402040
:func:`socket.ntohs` has been deprecated. In future versions of Python,
20412041
if the passed argument is larger than 16 bits, an exception will be raised.
20422042
(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

Misc/NEWS.d/3.5.2rc1.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1366,7 +1366,7 @@ fileinput now uses sys.stdin as-is if it does not have a buffer attribute
13661366
.. nonce: AtHkWA
13671367
.. section: Library
13681368
1369-
Copying the lru_cache() wrapper object now always works, independedly from
1369+
Copying the lru_cache() wrapper object now always works, independently from
13701370
the type of the wrapped object (by returning the original object unchanged).
13711371

13721372
..

Misc/NEWS.d/3.5.3rc1.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1036,7 +1036,7 @@ attack (CVE-2016-2183).
10361036
.. nonce: WI70Tc
10371037
.. section: Library
10381038
1039-
Add ChaCha20 Poly1305 to ssl module's default ciper list. (Required OpenSSL
1039+
Add ChaCha20 Poly1305 to ssl module's default cipher list. (Required OpenSSL
10401040
1.1.0 or LibreSSL).
10411041

10421042
..

Misc/NEWS.d/3.5.4rc1.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ already gets entropy from the OS to set the expat secret using
3636
Fix urllib.parse.splithost() to correctly parse fragments. For example,
3737
``splithost('//127.0.0.1#@evil.com/')`` now correctly returns the
3838
``127.0.0.1`` host, instead of treating ``@evil.com`` as the host in an
39-
authentification (``login@host``).
39+
authentication (``login@host``).
4040

4141
..
4242

Misc/NEWS.d/3.6.0a1.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2684,7 +2684,7 @@ pickletools.dis() now outputs implicit memo index for the MEMOIZE opcode.
26842684
.. nonce: ebqGy-
26852685
.. section: Library
26862686
2687-
Add an optional newline paramer to binascii.b2a_base64(). base64.b64encode()
2687+
Add an optional newline parameter to binascii.b2a_base64(). base64.b64encode()
26882688
uses it to avoid a memory copy.
26892689

26902690
..
@@ -3938,4 +3938,4 @@ programming bugs.
39383938
39393939
ValueError is now raised instead of TypeError on buffer overflow in parsing
39403940
"es#" and "et#" format units. SystemError is now raised instead of
3941-
TypeError on programmical error in parsing format string.
3941+
TypeError on programmatical error in parsing format string.

Misc/NEWS.d/3.6.0a2.rst

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -126,7 +126,7 @@ work at runtime anyway.
126126
.. nonce: ffzxpX
127127
.. section: Library
128128
129-
Generated names for Tkinter widgets are now more meanful and recognizirable.
129+
Generated names for Tkinter widgets are now more meaningful and recognizable.
130130

131131
..
132132
@@ -516,7 +516,7 @@ are added to cover changes.
516516
517517
IDLE requires tk 8.5 and availability ttk widgets. Delete now unneeded tk
518518
version tests and code for older versions. Add test for IDLE syntax
519-
colorizoer.
519+
colorizer.
520520

521521
..
522522
@@ -534,7 +534,7 @@ idlelib.macosx.isXyzTk functions initialize as needed.
534534
.. nonce: t7ckly
535535
.. section: IDLE
536536
537-
move Aqua unbinding code, which enable context menus, to maxosx.
537+
move Aqua unbinding code, which enable context menus, to macosx.
538538

539539
..
540540

Misc/NEWS.d/3.6.0a3.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -476,7 +476,7 @@ Update Windows builds to use OpenSSL 1.0.2h.
476476
Rename the platform directory from plat-$(MACHDEP) to
477477
plat-$(PLATFORM_TRIPLET). Rename the config directory (LIBPL) from
478478
config-$(LDVERSION) to config-$(LDVERSION)-$(PLATFORM_TRIPLET). Install the
479-
platform specifc _sysconfigdata module into the platform directory and
479+
platform specific _sysconfigdata module into the platform directory and
480480
rename it to include the ABIFLAGS.
481481

482482
..

Misc/NEWS.d/3.6.0a4.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -487,7 +487,7 @@ without -jn. Fix warning from test_config.
487487
.. section: IDLE
488488
489489
Put query response validation error messages in the query box itself instead
490-
of in a separate massagebox. Redo tests to match. Add Mac OSX refinements.
490+
of in a separate messagebox. Redo tests to match. Add Mac OSX refinements.
491491
Original patch by Mark Roseman.
492492

493493
..

Misc/NEWS.d/3.6.0b1.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -958,7 +958,7 @@ attack (CVE-2016-2183).
958958
.. nonce: WI70Tc
959959
.. section: Library
960960
961-
Add ChaCha20 Poly1305 to ssl module's default ciper list. (Required OpenSSL
961+
Add ChaCha20 Poly1305 to ssl module's default cipher list. (Required OpenSSL
962962
1.1.0 or LibreSSL).
963963

964964
..

Misc/NEWS.d/3.6.2rc2.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,4 +36,4 @@ Python already gets entropy from the OS to set the expat secret using
3636
Fix urllib.parse.splithost() to correctly parse fragments. For example,
3737
``splithost('//127.0.0.1#@evil.com/')`` now correctly returns the
3838
``127.0.0.1`` host, instead of treating ``@evil.com`` as the host in an
39-
authentification (``login@host``).
39+
authentication (``login@host``).

Misc/NEWS.d/3.6.3rc1.rst

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -517,7 +517,7 @@ LF. Patch by Dong-hee Na.
517517
.. section: Library
518518
519519
multiprocessing.Queue.get() with a timeout now polls its reader in
520-
non-blocking mode if it succeeded to aquire the lock but the acquire took
520+
non-blocking mode if it succeeded to acquire the lock but the acquire took
521521
longer than the timeout.
522522

523523
..
@@ -818,7 +818,7 @@ IDLE - make tests pass with zzdummy extension disabled by default.
818818
Document how IDLE runs tkinter programs. IDLE calls tcl/tk update in the
819819
background in order to make live
820820

821-
interaction and experimentatin with tkinter applications much easier.
821+
interaction and experimentation with tkinter applications much easier.
822822

823823
..
824824
@@ -837,7 +837,7 @@ not the same as deleting and inserting because int('') will fail.
837837
.. nonce: 50Jp_Q
838838
.. section: IDLE
839839
840-
Rearrange IDLE condigdialog GenPage into Window, Editor, and Help sections.
840+
Rearrange IDLE configdialog GenPage into Window, Editor, and Help sections.
841841

842842
..
843843

Misc/NEWS.d/3.6.4rc1.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -758,7 +758,7 @@ interruptions. If it crashes, restart it when necessary.
758758
.. nonce: 91mhWm
759759
.. section: Documentation
760760
761-
Added asyncio.BaseEventLoop.connect_accepted_socket versionaddded marker.
761+
Added asyncio.BaseEventLoop.connect_accepted_socket versionadded marker.
762762

763763
..
764764
@@ -974,7 +974,7 @@ Cheryl Sabella.
974974
.. nonce: VuSA_e
975975
.. section: IDLE
976976
977-
IDLE -- Restrict shell prompt manipulaton to the shell. Editor and output
977+
IDLE -- Restrict shell prompt manipulation to the shell. Editor and output
978978
windows only see an empty last prompt line. This simplifies the code and
979979
fixes a minor bug when newline is inserted. Sys.ps1, if present, is read on
980980
Shell start-up, but is not set or changed.

Misc/NEWS.d/3.6.6rc1.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -861,7 +861,7 @@ Fix pystackv and pystack gdbinit macros.
861861
.. nonce: dL5x7C
862862
.. section: Tools/Demos
863863
864-
Add an ``-n`` flag for ``Tools/scripts/pathfix.py`` to disbale automatic
864+
Add an ``-n`` flag for ``Tools/scripts/pathfix.py`` to disable automatic
865865
backup creation (files with ``~`` suffix).
866866

867867
..

Misc/NEWS.d/3.7.0a1.rst

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ already gets entropy from the OS to set the expat secret using
6565
Fix urllib.parse.splithost() to correctly parse fragments. For example,
6666
``splithost('//127.0.0.1#@evil.com/')`` now correctly returns the
6767
``127.0.0.1`` host, instead of treating ``@evil.com`` as the host in an
68-
authentification (``login@host``).
68+
authentication (``login@host``).
6969

7070
..
7171
@@ -3406,7 +3406,7 @@ Patch by Nikolay Kim.
34063406
.. nonce: 4f5gbp
34073407
.. section: Library
34083408
3409-
urrlib.parse.quote is now based on RFC 3986 and hence includes '~' in the
3409+
urllib.parse.quote is now based on RFC 3986 and hence includes '~' in the
34103410
set of characters that is not quoted by default. Patch by Christian Theune
34113411
and Ratnadeep Debnath.
34123412

@@ -5711,7 +5711,7 @@ IDLE - make tests pass with zzdummy extension disabled by default.
57115711
Document how IDLE runs tkinter programs. IDLE calls tcl/tk update in the
57125712
background in order to make live
57135713

5714-
interaction and experimentatin with tkinter applications much easier.
5714+
interaction and experimentation with tkinter applications much easier.
57155715

57165716
..
57175717
@@ -5730,7 +5730,7 @@ not the same as deleting and inserting because int('') will fail.
57305730
.. nonce: 50Jp_Q
57315731
.. section: IDLE
57325732
5733-
Rearrange IDLE condigdialog GenPage into Window, Editor, and Help sections.
5733+
Rearrange IDLE configdialog GenPage into Window, Editor, and Help sections.
57345734

57355735
..
57365736

0 commit comments

Comments
 (0)