Skip to content

Commit e856075

Browse files
committed
Corrected minor typos found in review.
1 parent 2208323 commit e856075

File tree

3 files changed

+6
-8
lines changed

3 files changed

+6
-8
lines changed

Apple/__main__.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -225,7 +225,7 @@ def build_python_path() -> Path:
225225

226226
@contextmanager
227227
def group(text: str):
228-
"""A context manager that ouptut a log marker around a section of a build.
228+
"""A context manager that output a log marker around a section of a build.
229229
230230
If running in a GitHub Actions environment, the GitHub syntax for
231231
collapsible log sections is used.
@@ -438,7 +438,7 @@ def framework_path(host_triple: str, multiarch: str) -> Path:
438438

439439

440440
def package_version(prefix_path: Path) -> str:
441-
"""Extract the Python version being build from patchlevel.h."""
441+
"""Extract the Python version being built from patchlevel.h."""
442442
for path in prefix_path.glob("**/patchlevel.h"):
443443
text = path.read_text(encoding="utf-8")
444444
if match := re.search(
@@ -823,8 +823,8 @@ def parse_args() -> argparse.Namespace:
823823
"A tool for managing the build, package and test process of "
824824
"CPython on Apple platforms."
825825
),
826-
suggest_on_error=True,
827826
)
827+
parser.suggest_on_error = True
828828
subcommands = parser.add_subparsers(dest="subcommand", required=True)
829829

830830
clean = subcommands.add_parser(

Apple/iOS/README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ The `Apple` subfolder of the Python repository acts as a build script that
5656
can be used to coordinate the compilation of a complete iOS XCframework. To use
5757
it, run::
5858

59-
python Apple iOS build
59+
python Apple build iOS
6060

6161
This will:
6262

@@ -222,7 +222,7 @@ simulator build with a deployment target of 15.4.
222222

223223
Once you have a built an XCframework, you can test that framework by running:
224224

225-
$ python Apple iOS test
225+
$ python Apple test iOS
226226

227227
### Testing a single-architecture framework
228228

@@ -258,7 +258,7 @@ project, and then boot and prepare the iOS simulator.
258258

259259
### Debugging test failures
260260

261-
Running `python Apple iOS test` generates a standalone version of the
261+
Running `python Apple test iOS` generates a standalone version of the
262262
`Apple/testbed` project, and runs the full test suite. It does this using
263263
`Apple/testbed` itself - the folder is an executable module that can be used
264264
to create and run a clone of the testbed project. The standalone version of the

Mac/Resources/framework/Info.plist.in

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,8 +24,6 @@
2424
<string>????</string>
2525
<key>CFBundleVersion</key>
2626
<string>%VERSION%</string>
27-
<key>MinimumOSVersion</key>
28-
<string>@MACOSX_DEPLOYMENT_TARGET@</string>
2927
<key>CFBundleAllowMixedLocalizations</key>
3028
<true/>
3129
</dict>

0 commit comments

Comments
 (0)