Skip to content

Commit 7ea9528

Browse files
committed
[3.6] bpo-34906: Doc: Fix typos (2) (pythonGH-9735)
1 parent 482dc94 commit 7ea9528

File tree

21 files changed

+38
-38
lines changed

21 files changed

+38
-38
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.

Lib/idlelib/NEWS.txt

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

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

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

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

494494
- Issue #27620: Escape key now closes Query box as cancelled.
@@ -554,7 +554,7 @@ Released on 2016-12-23
554554

555555
- Issue #27239: idlelib.macosx.isXyzTk functions initialize as needed.
556556

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

559559
- Issue #24759: Make clear in idlelib.idle_test.__init__ that the directory
560560
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.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
..

Modules/_ctypes/libffi_msvc/win32.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,7 @@ ffi_call_x86(void (* prepfunc)(char *, extended_cif *), /* 8 */
9090

9191
// If the return value pointer is NULL, assume no return value.
9292
/*
93-
Intel asm is weird. We have to explicitely specify 'DWORD PTR' in the nexr instruction,
93+
Intel asm is weird. We have to explicitly specify 'DWORD PTR' in the next instruction,
9494
otherwise only one BYTE will be compared (instead of a DWORD)!
9595
*/
9696
cmp DWORD PTR [ebp + 24], 0

0 commit comments

Comments
 (0)