gh-114099: Fix typos in iOS/README.rst (GH-118378)

This commit is contained in:
Xie Yanbo 2024-04-29 19:15:15 +08:00 committed by GitHub
parent 98739c9078
commit 3c39f335cb
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -224,7 +224,7 @@ content of the two "thin" ``Python.framework`` directories, plus the ``bin`` and
$ lipo -create -output module.dylib path/to/x86_64/module.dylib path/to/arm64/module.dylib $ lipo -create -output module.dylib path/to/x86_64/module.dylib path/to/arm64/module.dylib
* The header files will be indentical on both architectures, except for * The header files will be identical on both architectures, except for
``pyconfig.h``. Copy all the headers from one platform (say, arm64), rename ``pyconfig.h``. Copy all the headers from one platform (say, arm64), rename
``pyconfig.h`` to ``pyconfig-arm64.h``, and copy the ``pyconfig.h`` for the ``pyconfig.h`` to ``pyconfig-arm64.h``, and copy the ``pyconfig.h`` for the
other architecture into the merged header folder as ``pyconfig-x86_64.h``. other architecture into the merged header folder as ``pyconfig-x86_64.h``.
@ -355,7 +355,7 @@ pass in command line arguments to configure test suite operation. To work around
this limitation, the arguments that would normally be passed as command line this limitation, the arguments that would normally be passed as command line
arguments are configured as a static string at the start of the XCTest method arguments are configured as a static string at the start of the XCTest method
``- (void)testPython`` in ``iOSTestbedTests.m``. To pass an argument to the test ``- (void)testPython`` in ``iOSTestbedTests.m``. To pass an argument to the test
suite, add a a string to the ``argv`` defintion. These arguments will be passed suite, add a a string to the ``argv`` definition. These arguments will be passed
to the test suite as if they had been passed to ``python -m test`` at the to the test suite as if they had been passed to ``python -m test`` at the
command line. command line.