From: Miss Islington (bot) <31488909+miss-islington@users.noreply.github.com> Date: Wed, 22 Jun 2022 08:47:52 +0000 (-0700) Subject: DOC: correct bytesarray -> bytearray in comments (GH-92410) (GH-94089) X-Git-Tag: v3.11.0b4~116 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=3a119d277a9a3b209daf44bc084d59ad7846adff;p=thirdparty%2FPython%2Fcpython.git DOC: correct bytesarray -> bytearray in comments (GH-92410) (GH-94089) (cherry picked from commit 0709586744ec58dd60492e16b08fff6dc1149a0a) Co-authored-by: Thomas A Caswell --- diff --git a/Modules/_hashopenssl.c b/Modules/_hashopenssl.c index 203366e380d4..3c40f09f7a09 100644 --- a/Modules/_hashopenssl.c +++ b/Modules/_hashopenssl.c @@ -2002,7 +2002,7 @@ _hashlib_compare_digest_impl(PyObject *module, PyObject *a, PyObject *b) PyUnicode_GET_LENGTH(a), PyUnicode_GET_LENGTH(b)); } - /* fallback to buffer interface for bytes, bytesarray and other */ + /* fallback to buffer interface for bytes, bytearray and other */ else { Py_buffer view_a; Py_buffer view_b; diff --git a/Modules/_operator.c b/Modules/_operator.c index 739ae5b229e1..6a2520579091 100644 --- a/Modules/_operator.c +++ b/Modules/_operator.c @@ -839,7 +839,7 @@ _operator__compare_digest_impl(PyObject *module, PyObject *a, PyObject *b) PyUnicode_GET_LENGTH(a), PyUnicode_GET_LENGTH(b)); } - /* fallback to buffer interface for bytes, bytesarray and other */ + /* fallback to buffer interface for bytes, bytearray and other */ else { Py_buffer view_a; Py_buffer view_b;