Skip to content

Commit f6a836c

Browse files
freakboy3742hugovk
andauthored
Apply suggestions from code review
Co-authored-by: Hugo van Kemenade <[email protected]>
1 parent 39856d1 commit f6a836c

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

Apple/__main__.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -250,7 +250,7 @@ def make_build_python(context):
250250

251251

252252
def apple_target(host):
253-
"""Return the apple platform identifier for a given host triple."""
253+
"""Return the Apple platform identifier for a given host triple."""
254254
for _, platform_slices in HOSTS.items():
255255
for slice_name, slice_parts in platform_slices.items():
256256
for host_triple, multiarch in slice_parts.items():
@@ -409,7 +409,7 @@ def create_xcframework(context):
409409
# there's more than architecture, we need to merge the individual built
410410
# frameworks into a merged "fat" framework.
411411
for slice_name, slice_parts in HOSTS[context.platform].items():
412-
# Some parts are the same across all slices, so we can any of the
412+
# Some parts are the same across all slices, so we use can any of the
413413
# host frameworks as the source for the merged version. Use the first
414414
# one on the list, as it's as representative as any other.
415415
first_host_triple, first_multiarch = next(iter(slice_parts.items()))
@@ -788,14 +788,14 @@ def parse_args():
788788
cmd.add_argument(
789789
"platform",
790790
choices=HOSTS.keys(),
791-
help="The target platform to build.",
791+
help="The target platform to build",
792792
)
793793

794794
# host triple argument
795795
for cmd in [configure_host, make_host]:
796796
cmd.add_argument(
797797
"host",
798-
help="The host triple to build (e.g., arm64-apple-ios-simulator).",
798+
help="The host triple to build (e.g., arm64-apple-ios-simulator)",
799799
)
800800
# optional host triple argument
801801
for cmd in [clean, build, test]:

Apple/iOS/README.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ The ``Apple`` subfolder of the Python repository acts as a build script that
6363
can be used to coordinate the compilation of a complete iOS XCframework. To use
6464
it, run::
6565

66-
$ python Apple iOS build
66+
python Apple iOS build
6767

6868
This will:
6969

0 commit comments

Comments
 (0)