summaryrefslogtreecommitdiffstats
path: root/Mac
diff options
context:
space:
mode:
authorChristian Clauss <cclauss@me.com>2021-10-06 17:40:09 (GMT)
committerGitHub <noreply@github.com>2021-10-06 17:40:09 (GMT)
commit470145f572b53fe73518cda1eeacc56fec78c1b2 (patch)
tree10071daf26de01236ec7797d4aef895df719a01a /Mac
parentf528045f695f7483d955a1eae4c1df68b1b4cacd (diff)
downloadcpython-470145f572b53fe73518cda1eeacc56fec78c1b2.zip
cpython-470145f572b53fe73518cda1eeacc56fec78c1b2.tar.gz
cpython-470145f572b53fe73518cda1eeacc56fec78c1b2.tar.bz2
[Misc] [Mac] Fix typos found using codespell (GH-28756)
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 529060d..a6d5c34 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 7dd41a3..7476639 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