Fix comment typos in _operator.c (#98853)

This commit is contained in:
David Buchanan 2022-10-29 19:25:09 +01:00 committed by GitHub
parent d10c2b9742
commit 1561e708c7
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View 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