summaryrefslogtreecommitdiffstats
path: root/Modules
diff options
context:
space:
mode:
authorDavid Buchanan <d@vidbuchanan.co.uk>2022-10-29 18:25:09 (GMT)
committerGitHub <noreply@github.com>2022-10-29 18:25:09 (GMT)
commit1561e708c70c9fe6fdbaf8885a3ee4007715427e (patch)
tree9648c06f324033e107d132f2ae80ac611d26a25c /Modules
parentd10c2b97428bd07827f7bac4515d41ac08be7481 (diff)
downloadcpython-1561e708c70c9fe6fdbaf8885a3ee4007715427e.zip
cpython-1561e708c70c9fe6fdbaf8885a3ee4007715427e.tar.gz
cpython-1561e708c70c9fe6fdbaf8885a3ee4007715427e.tar.bz2
Fix comment typos in `_operator.c` (#98853)
Diffstat (limited to 'Modules')
-rw-r--r--Modules/_operator.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/Modules/_operator.c b/Modules/_operator.c
index 77eabdb..3005845 100644
--- a/Modules/_operator.c
+++ b/Modules/_operator.c
@@ -731,9 +731,9 @@ _operator_is_not_impl(PyObject *module, PyObject *a, PyObject *b)
/*
* timing safe compare
*
- * Returns 1 of the strings are equal.
+ * Returns 1 if the strings are equal.
* In case of len(a) != len(b) the function tries to keep the timing
- * dependent on the length of b. CPU cache locally may still alter timing
+ * dependent on the length of b. CPU cache locality may still alter timing
* a bit.
*/
static int