]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
Fix comment typos in `_operator.c` (#98853)
authorDavid Buchanan <d@vidbuchanan.co.uk>
Sat, 29 Oct 2022 18:25:09 +0000 (19:25 +0100)
committerGitHub <noreply@github.com>
Sat, 29 Oct 2022 18:25:09 +0000 (19:25 +0100)
Modules/_operator.c

index 77eabdb57af92107964702fe9e4cae7f52c9915d..3005845ec93249625e1659d4b59d16a36e861c07 100644 (file)
@@ -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