summaryrefslogtreecommitdiffstats
path: root/Mac
diff options
context:
space:
mode:
authorChristian Clauss <cclauss@me.com>2021-10-07 13:42:07 (GMT)
committerGitHub <noreply@github.com>2021-10-07 13:42:07 (GMT)
commit71d56a72313d66e73ca1b61130d2e617235c8a93 (patch)
tree144c8464dc321f127e3dc1756b5b674fd19e5efd /Mac
parent8f762349a20672f298584e5134f3f8b1b307745a (diff)
downloadcpython-71d56a72313d66e73ca1b61130d2e617235c8a93.zip
cpython-71d56a72313d66e73ca1b61130d2e617235c8a93.tar.gz
cpython-71d56a72313d66e73ca1b61130d2e617235c8a93.tar.bz2
[3.9] [Misc] [Mac] Fix typos found using codespell (GH-28756) (GH-28793)
(cherry picked from commit 470145f572b53fe73518cda1eeacc56fec78c1b2) Automerge-Triggered-By: GH:JulienPalard
Diffstat (limited to 'Mac')
-rwxr-xr-xMac/BuildScript/build-installer.py4
-rw-r--r--Mac/IDLE/IDLE.app/Contents/Resources/idlemain.py2
-rw-r--r--Mac/PythonLauncher/MyAppDelegate.m2
-rw-r--r--Mac/README.rst2
4 files changed, 5 insertions, 5 deletions
diff --git a/Mac/BuildScript/build-installer.py b/Mac/BuildScript/build-installer.py
index cbb6cab..bd1c4d4 100755
--- a/Mac/BuildScript/build-installer.py
+++ b/Mac/BuildScript/build-installer.py
@@ -443,7 +443,7 @@ def pkg_recipes():
source="/pydocs",
readme="""\
This package installs the python documentation at a location
- that is useable for pydoc and IDLE.
+ that is usable for pydoc and IDLE.
""",
postflight="scripts/postflight.documentation",
required=False,
@@ -1589,7 +1589,7 @@ def buildDMG():
# instead of 11. We should not run into that situation here.)
# Also we should use "macos" instead of "macosx" going forward.
#
- # To maintain compability for legacy variants, the file name for
+ # To maintain compatibility for legacy variants, the file name for
# builds on macOS 10.15 and earlier remains:
# python-3.x.y-macosx10.z.{dmg->pkg}
# e.g. python-3.9.4-macosx10.9.{dmg->pkg}
diff --git a/Mac/IDLE/IDLE.app/Contents/Resources/idlemain.py b/Mac/IDLE/IDLE.app/Contents/Resources/idlemain.py
index 5994c18..ccc18d4 100644
--- a/Mac/IDLE/IDLE.app/Contents/Resources/idlemain.py
+++ b/Mac/IDLE/IDLE.app/Contents/Resources/idlemain.py
@@ -35,7 +35,7 @@ os.chdir(os.path.expanduser('~/Documents'))
# idlemain.py running under the symlinked python.
# This is the magic step.
# 4. During interpreter initialization, because PYTHONEXECUTABLE is defined,
-# sys.executable may get set to an unuseful value.
+# sys.executable may get set to an useless value.
#
# (Note that the IDLE script and the setting of PYTHONEXECUTABLE is
# generated automatically by bundlebuilder in the Python 2.x build.
diff --git a/Mac/PythonLauncher/MyAppDelegate.m b/Mac/PythonLauncher/MyAppDelegate.m
index 25779a2..9cc2aa0 100644
--- a/Mac/PythonLauncher/MyAppDelegate.m
+++ b/Mac/PythonLauncher/MyAppDelegate.m
@@ -22,7 +22,7 @@
{
// Test that the file mappings are correct
[self testFileTypeBinding];
- // If we were opened because of a file drag or doubleclick
+ // If we were opened because of a file drag or double-click
// we've set initial_action_done in shouldShowUI
// Otherwise we open a preferences dialog.
if (!initial_action_done) {
diff --git a/Mac/README.rst b/Mac/README.rst
index 1670fe5..f7c4df0 100644
--- a/Mac/README.rst
+++ b/Mac/README.rst
@@ -296,7 +296,7 @@ How do I create a binary distribution?
Download and unpack the source release from https://www.python.org/download/.
Go to the directory ``Mac/BuildScript``. There you will find a script
``build-installer.py`` that does all the work. This will download and build
-a number of 3rd-party libaries, configures and builds a framework Python,
+a number of 3rd-party libraries, configures and builds a framework Python,
installs it, creates the installer package files and then packs this in a
DMG image. The script also builds an HTML copy of the current Python
documentation set for this release for inclusion in the framework. The