Skip to content

Commit 470145f

Browse files
authored
[Misc] [Mac] Fix typos found using codespell (pythonGH-28756)
1 parent f528045 commit 470145f

File tree

17 files changed

+39
-39
lines changed

17 files changed

+39
-39
lines changed

Mac/BuildScript/build-installer.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -454,7 +454,7 @@ def pkg_recipes():
454454
source="/pydocs",
455455
readme="""\
456456
This package installs the python documentation at a location
457-
that is useable for pydoc and IDLE.
457+
that is usable for pydoc and IDLE.
458458
""",
459459
postflight="scripts/postflight.documentation",
460460
required=False,
@@ -1602,7 +1602,7 @@ def buildDMG():
16021602
# instead of 11. We should not run into that situation here.)
16031603
# Also we should use "macos" instead of "macosx" going forward.
16041604
#
1605-
# To maintain compability for legacy variants, the file name for
1605+
# To maintain compatibility for legacy variants, the file name for
16061606
# builds on macOS 10.15 and earlier remains:
16071607
# python-3.x.y-macosx10.z.{dmg->pkg}
16081608
# e.g. python-3.9.4-macosx10.9.{dmg->pkg}

Mac/IDLE/IDLE.app/Contents/Resources/idlemain.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@
3535
# idlemain.py running under the symlinked python.
3636
# This is the magic step.
3737
# 4. During interpreter initialization, because PYTHONEXECUTABLE is defined,
38-
# sys.executable may get set to an unuseful value.
38+
# sys.executable may get set to an useless value.
3939
#
4040
# (Note that the IDLE script and the setting of PYTHONEXECUTABLE is
4141
# generated automatically by bundlebuilder in the Python 2.x build.

Mac/PythonLauncher/MyAppDelegate.m

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ - (void)applicationDidFinishLaunching:(NSNotification *)notification
2222
{
2323
// Test that the file mappings are correct
2424
[self testFileTypeBinding];
25-
// If we were opened because of a file drag or doubleclick
25+
// If we were opened because of a file drag or double-click
2626
// we've set initial_action_done in shouldShowUI
2727
// Otherwise we open a preferences dialog.
2828
if (!initial_action_done) {

Mac/README.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -296,7 +296,7 @@ How do I create a binary distribution?
296296
Download and unpack the source release from https://www.python.org/download/.
297297
Go to the directory ``Mac/BuildScript``. There you will find a script
298298
``build-installer.py`` that does all the work. This will download and build
299-
a number of 3rd-party libaries, configures and builds a framework Python,
299+
a number of 3rd-party libraries, configures and builds a framework Python,
300300
installs it, creates the installer package files and then packs this in a
301301
DMG image. The script also builds an HTML copy of the current Python
302302
documentation set for this release for inclusion in the framework. The

Misc/NEWS.d/3.10.0a1.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -178,7 +178,7 @@ Convert the :mod:`_sha256` extension module types to heap types.
178178
.. section: Core and Builtins
179179
180180
Fix a possible stack overflow in the parser when parsing functions and
181-
classes with a huge ammount of arguments. Patch by Pablo Galindo.
181+
classes with a huge amount of arguments. Patch by Pablo Galindo.
182182

183183
..
184184

Misc/NEWS.d/3.10.0a2.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -258,7 +258,7 @@ The :func:`repr` of :mod:`typing` types containing :ref:`Generic Alias Types
258258
.. nonce: 6aDbty
259259
.. section: Library
260260
261-
``binhex.binhex()`` consisently writes macOS 9 line endings.
261+
``binhex.binhex()`` consistently writes macOS 9 line endings.
262262

263263
..
264264
@@ -534,7 +534,7 @@ belong to. Patch by Batuhan Taskaya.
534534
.. nonce: LR4fnY
535535
.. section: Library
536536
537-
Handle exceptions caused by unparseable date headers when using email
537+
Handle exceptions caused by unparsable date headers when using email
538538
"default" policy. Patch by Tim Bell, Georges Toth
539539

540540
..

Misc/NEWS.d/3.10.0a3.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -949,7 +949,7 @@ branches, are now handled by docsbuild-script.
949949
.. nonce: W_updK
950950
.. section: Tests
951951
952-
Reenable test_gdb on gdb 9.2 and newer:
952+
Re-enable test_gdb on gdb 9.2 and newer:
953953
https://bugzilla.redhat.com/show_bug.cgi?id=1866884 bug is fixed in gdb
954954
10.1.
955955

Misc/NEWS.d/3.10.0a4.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -767,7 +767,7 @@ results. Patch by Ammar Askar.
767767
.. nonce: -7-XGz
768768
.. section: Tests
769769
770-
Update test_nntplib to use offical group name of news.aioe.org for testing.
770+
Update test_nntplib to use official group name of news.aioe.org for testing.
771771
Patch by Dong-hee Na.
772772

773773
..
@@ -863,7 +863,7 @@ and Peixing Xin.
863863
864864
Now all platforms use a value for the "EXT_SUFFIX" build variable derived
865865
from SOABI (for instance in freeBSD, "EXT_SUFFIX" is now ".cpython-310d.so"
866-
instead of ".so"). Previosuly only Linux, Mac and VxWorks were using a value
866+
instead of ".so"). Previously only Linux, Mac and VxWorks were using a value
867867
for "EXT_SUFFIX" that included "SOABI".
868868

869869
..

Misc/NEWS.d/3.10.0a5.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -549,7 +549,7 @@ Pass ``--timeout=$(TESTTIMEOUT)`` option to the default profile task
549549
.. section: Build
550550
551551
Removed the grep -q and -E flags in the tzpath validation section of the
552-
configure script to better accomodate users of some platforms (specifically
552+
configure script to better accommodate users of some platforms (specifically
553553
Solaris 10).
554554

555555
..

Misc/NEWS.d/3.10.0a6.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ The :data:`types.FunctionType` constructor now inherits the current builtins
4949
if the *globals* dictionary has no ``"__builtins__"`` key, rather than using
5050
``{"None": None}`` as builtins: same behavior as :func:`eval` and
5151
:func:`exec` functions. Defining a function with ``def function(...): ...``
52-
in Python is not affected, globals cannot be overriden with this syntax: it
52+
in Python is not affected, globals cannot be overridden with this syntax: it
5353
also inherits the current builtins. Patch by Victor Stinner.
5454

5555
..
@@ -355,7 +355,7 @@ in 4.0" to "3.12". See :pep:`623` for detail.
355355
.. nonce: LfTvL-
356356
.. section: Tests
357357
358-
Fix test_importlib to correctly skip Unicode file tests if the fileystem
358+
Fix test_importlib to correctly skip Unicode file tests if the filesystem
359359
does not support them.
360360

361361
..

0 commit comments

Comments
 (0)