From 2fde8e91e5dbc070b06060c5b356a60f7e85fb3d Mon Sep 17 00:00:00 2001 From: wellweek <148746285+wellweek@users.noreply.github.com> Date: Mon, 11 Mar 2024 14:01:37 +0800 Subject: [PATCH] fix some typos (#5187) Signed-off-by: wellweek --- Lib/test/test_unpack.py | 2 +- architecture/architecture.md | 2 +- benches/benchmarks/pystone.py | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/Lib/test/test_unpack.py b/Lib/test/test_unpack.py index f5ca1d455b..515ec128a0 100644 --- a/Lib/test/test_unpack.py +++ b/Lib/test/test_unpack.py @@ -162,7 +162,7 @@ class TestCornerCases(unittest.TestCase): ns = {} exec(code, ns) unpack_400 = ns["unpack_400"] - # Warm up the the function for quickening (PEP 659) + # Warm up the function for quickening (PEP 659) for _ in range(30): y = unpack_400(range(400)) self.assertEqual(y, 399) diff --git a/architecture/architecture.md b/architecture/architecture.md index 5b1ae9cc68..a59b6498bf 100644 --- a/architecture/architecture.md +++ b/architecture/architecture.md @@ -101,7 +101,7 @@ Part of the Python standard library that's implemented in Rust. The modules that ### Lib -Python side of the standard libary, copied over (with care) from CPython sourcecode. +Python side of the standard library, copied over (with care) from CPython sourcecode. #### Lib/test diff --git a/benches/benchmarks/pystone.py b/benches/benchmarks/pystone.py index 3faf675ae7..755b4ba85c 100644 --- a/benches/benchmarks/pystone.py +++ b/benches/benchmarks/pystone.py @@ -16,7 +16,7 @@ Author: Reinhold P. Weicker, CACM Vol 27, No 10, 10/84 pg. 1013. Version History: - Inofficial version 1.1.1 by Chris Arndt: + Unofficial version 1.1.1 by Chris Arndt: - Make it run under Python 2 and 3 by using "from __future__ import print_function".