summaryrefslogtreecommitdiffstats
path: root/Objects/bytearrayobject.c
diff options
context:
space:
mode:
authorInada Naoki <songofacandy@gmail.com>2023-06-30 04:00:22 (GMT)
committerGitHub <noreply@github.com>2023-06-30 04:00:22 (GMT)
commit77ddc9a7b1b28c8b8aee6cc97e483185a56819a6 (patch)
treec1ae461eda86c625f3defa850b922841c9e3374d /Objects/bytearrayobject.c
parentcd580910e10dcfffa364d08ee5a6f0257d031baf (diff)
downloadcpython-77ddc9a7b1b28c8b8aee6cc97e483185a56819a6.zip
cpython-77ddc9a7b1b28c8b8aee6cc97e483185a56819a6.tar.gz
cpython-77ddc9a7b1b28c8b8aee6cc97e483185a56819a6.tar.bz2
fix typos (#106247)
Most typos are in comments, but two typos are in docstring.
Diffstat (limited to 'Objects/bytearrayobject.c')
-rw-r--r--Objects/bytearrayobject.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/Objects/bytearrayobject.c b/Objects/bytearrayobject.c
index c36db59..944ec65 100644
--- a/Objects/bytearrayobject.c
+++ b/Objects/bytearrayobject.c
@@ -1377,7 +1377,7 @@ bytearray.maketrans
to: Py_buffer
/
-Return a translation table useable for the bytes or bytearray translate method.
+Return a translation table usable for the bytes or bytearray translate method.
The returned table will be one where each byte in frm is mapped to the byte at
the same position in to.
@@ -1387,7 +1387,7 @@ The bytes objects frm and to must be of the same length.
static PyObject *
bytearray_maketrans_impl(Py_buffer *frm, Py_buffer *to)
-/*[clinic end generated code: output=1df267d99f56b15e input=5925a81d2fbbf151]*/
+/*[clinic end generated code: output=1df267d99f56b15e input=b10de38c85950a63]*/
{
return _Py_bytes_maketrans(frm, to);
}