summaryrefslogtreecommitdiffstats
path: root/Modules
diff options
context:
space:
mode:
authorKyle Stanley <aeros167@gmail.com>2019-07-22 02:48:45 (GMT)
committerTerry Jan Reedy <tjreedy@udel.edu>2019-07-22 02:48:45 (GMT)
commit24b5b360faf306ef67419dfe5d49ff22dbe827b1 (patch)
treed23382899b0058990f09a6e2f504bdc8e743a1ff /Modules
parent0104841d12b42ebe5716efbe3ddcb8744dd7cea8 (diff)
downloadcpython-24b5b360faf306ef67419dfe5d49ff22dbe827b1.zip
cpython-24b5b360faf306ef67419dfe5d49ff22dbe827b1.tar.gz
cpython-24b5b360faf306ef67419dfe5d49ff22dbe827b1.tar.bz2
[3.8] Fix typos in docs, comments and test assert messages (GH-14872). (#14900)
(cherry picked from commit 96e12d5f4f3c5a20986566038ee763dff3c228a1) Co-authored-by: Min ho Kim <minho42@gmail.com>
Diffstat (limited to 'Modules')
-rw-r--r--Modules/_pickle.c2
-rw-r--r--Modules/_xxtestfuzz/fuzzer.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/Modules/_pickle.c b/Modules/_pickle.c
index 34e11bd..0a59757 100644
--- a/Modules/_pickle.c
+++ b/Modules/_pickle.c
@@ -2119,7 +2119,7 @@ save_long(PicklerObject *self, PyObject *obj)
/* How many bytes do we need? There are nbits >> 3 full
* bytes of data, and nbits & 7 leftover bits. If there
* are any leftover bits, then we clearly need another
- * byte. Wnat's not so obvious is that we *probably*
+ * byte. What's not so obvious is that we *probably*
* need another byte even if there aren't any leftovers:
* the most-significant bit of the most-significant byte
* acts like a sign bit, and it's usually got a sense
diff --git a/Modules/_xxtestfuzz/fuzzer.c b/Modules/_xxtestfuzz/fuzzer.c
index 16104e4..1821eb2 100644
--- a/Modules/_xxtestfuzz/fuzzer.c
+++ b/Modules/_xxtestfuzz/fuzzer.c
@@ -210,7 +210,7 @@ static int fuzz_sre_compile(const char* data, size_t size) {
/* Some random patterns used to test re.match.
Be careful not to add catostraphically slow regexes here, we want to
- excercise the matching code without causing timeouts.*/
+ exercise the matching code without causing timeouts.*/
static const char* regex_patterns[] = {
".", "^", "abc", "abc|def", "^xxx$", "\\b", "()", "[a-zA-Z0-9]",
"abc+", "[^A-Z]", "[x]", "(?=)", "a{z}", "a+b", "a*?", "a??", "a+?",