From 0709586744ec58dd60492e16b08fff6dc1149a0a Mon Sep 17 00:00:00 2001 From: Thomas A Caswell Date: Tue, 21 Jun 2022 16:04:03 -0400 Subject: [PATCH] DOC: correct bytesarray -> bytearray in comments (GH-92410) --- Modules/_hashopenssl.c | 2 +- Modules/_operator.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Modules/_hashopenssl.c b/Modules/_hashopenssl.c index 38776edf5f9fdf..82398547f9b372 100644 --- a/Modules/_hashopenssl.c +++ b/Modules/_hashopenssl.c @@ -1998,7 +1998,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 e89451631ca1b2..51ca74eeeaee21 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;