Skip to content

Commit 4ec8e29

Browse files
authored
Fix typos discovered by codespell (#779)
% `codespell --ignore-words-list=inout --skip="LICENSE.*,python-licenses.rst" --write-changes` * https://pypi.org/project/codespell
1 parent aa32d4a commit 4ec8e29

File tree

7 files changed

+9
-9
lines changed

7 files changed

+9
-9
lines changed

cpython-unix/build-cpython.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -460,7 +460,7 @@ if [ -n "${CPYTHON_OPTIMIZED}" ]; then
460460
if [[ -n "${PYTHON_MEETS_MINIMUM_VERSION_3_13}" ]]; then
461461

462462
# Do not enable on x86-64 macOS because the JIT requires macOS 11+ and we are currently
463-
# using 10.15 as a miniumum version.
463+
# using 10.15 as a minimum version.
464464
# Do not enable when free-threading, because they're not compatible yet.
465465
if [[ ! ( "${TARGET_TRIPLE}" == "x86_64-apple-darwin" || -n "${CPYTHON_FREETHREADED}" ) ]]; then
466466
CONFIGURE_FLAGS="${CONFIGURE_FLAGS} --enable-experimental-jit=yes-off"

cpython-unix/build-libffi.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -225,7 +225,7 @@ index 60cfa50..6a9a561 100644
225225
BTI_C
226226
- /* Sign the lr with x1 since that is where it will be stored */
227227
+ PAC_CFI_WINDOW_SAVE
228-
+ /* Sign the lr with x1 since that is the CFA which is the modifer used in auth instructions */
228+
+ /* Sign the lr with x1 since that is the CFA which is the modifier used in auth instructions */
229229
SIGN_LR_WITH_REG(x1)
230230
231231
- /* Use a stack frame allocated by our caller. */
@@ -352,7 +352,7 @@ index 6a9a561..e83bc65 100644
352352
+ cfi_startproc
353353
BTI_C
354354
PAC_CFI_WINDOW_SAVE
355-
/* Sign the lr with x1 since that is the CFA which is the modifer used in auth instructions */
355+
/* Sign the lr with x1 since that is the CFA which is the modifier used in auth instructions */
356356
@@ -348,8 +348,8 @@ CNAME(ffi_closure_SYSV_V):
357357
#endif
358358

cpython-unix/build.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -517,7 +517,7 @@ def python_build_info(
517517

518518
bi["object_file_format"] = object_file_format
519519

520-
# Determine allowed libaries on Linux
520+
# Determine allowed libraries on Linux
521521
libs = extra_metadata["python_config_vars"].get("LIBS", "").split()
522522
mips = target_triple.split("-")[0] in {"mips", "mipsel"}
523523
linux_allowed_system_libraries = LINUX_ALLOW_SYSTEM_LIBRARIES.copy()

cpython-windows/build.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1576,7 +1576,7 @@ def build_cpython(
15761576
# import their contents. According to
15771577
# https://github.com/pypa/pip/issues/11146 running pip from a wheel is not
15781578
# supported. But it has historically worked and is simple. So do this until
1579-
# it stops working and we need to switch to running pip from the filesytem.
1579+
# it stops working and we need to switch to running pip from the filesystem.
15801580
pip_env = dict(os.environ)
15811581
pip_env["PYTHONPATH"] = str(pip_wheel)
15821582

docs/building.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,7 @@ Visual Studio 2017 (or later) is required. A compatible Windows SDK is required
8787
(10.0.17763.0 as per CPython 3.7.2).
8888

8989
* A ``git.exe`` on ``PATH`` (to clone ``libffi`` from source).
90-
* An installation of Cywgin with the ``autoconf``, ``automake``, ``libtool``,
90+
* An installation of Cygwin with the ``autoconf``, ``automake``, ``libtool``,
9191
and ``make`` packages installed. (``libffi`` build dependency.)
9292

9393
To build a dynamically linked Python distribution for Windows x64::

docs/distributions.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -112,7 +112,7 @@ python_implementation_cache_tag
112112
(Version 5 or above only.)
113113

114114
python_implementation_hex_version
115-
Hexidecimal expression of implementation version.
115+
Hexadecimal expression of implementation version.
116116

117117
This is the value exposed by ``sys.implementation.hexversion``.
118118

@@ -237,7 +237,7 @@ python_suffixes
237237
(Version 5 or above only.)
238238

239239
python_bytecode_magic_number
240-
Magic number to use for bytecode files, expressed as a hexidecimal
240+
Magic number to use for bytecode files, expressed as a hexadecimal
241241
string.
242242

243243
(Version 5 or above only.)

src/validation.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -593,7 +593,7 @@ const ELF_BANNED_SYMBOLS: &[&str] = &[
593593
/// The list is obviously not complete.
594594
const DEPENDENCY_PACKAGE_SYMBOLS: &[&str] = &[
595595
/* TODO(geofft): Tk provides these as no-op stubs on macOS, make it
596-
* stop doing that so we can reenable the check
596+
* stop doing that so we can re-enable the check
597597
* // libX11
598598
* "XClearWindow",
599599
* "XFlush",

0 commit comments

Comments
 (0)