summaryrefslogtreecommitdiffstats
path: root/Mac
diff options
context:
space:
mode:
authorChristian Clauss <cclauss@me.com>2021-10-07 15:09:30 (GMT)
committerGitHub <noreply@github.com>2021-10-07 15:09:30 (GMT)
commit212140dceb72d40ba19e4aef089c707dbbcfd5cb (patch)
tree6704c05b9800bb901fe30f78473c6e34d3044e45 /Mac
parentdcfbe4f72d927a3f63a9df9e7add061c71fce547 (diff)
downloadcpython-212140dceb72d40ba19e4aef089c707dbbcfd5cb.zip
cpython-212140dceb72d40ba19e4aef089c707dbbcfd5cb.tar.gz
cpython-212140dceb72d40ba19e4aef089c707dbbcfd5cb.tar.bz2
[3.10] [Misc] [Mac] Fix typos found using codespell (GH-28756) (GH-28794)
(cherry picked from commit 470145f572b53fe73518cda1eeacc56fec78c1b2)
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 e89b1c1..51c8523 100755
--- a/Mac/BuildScript/build-installer.py
+++ b/Mac/BuildScript/build-installer.py
@@ -454,7 +454,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,
@@ -1602,7 +1602,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 3ef2811..8f2f153 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