summaryrefslogtreecommitdiffstats
path: root/Objects/bytesobject.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/bytesobject.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/bytesobject.c')
-rw-r--r--Objects/bytesobject.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/Objects/bytesobject.c b/Objects/bytesobject.c
index 1b67e02..bf54ec1 100644
--- a/Objects/bytesobject.c
+++ b/Objects/bytesobject.c
@@ -2154,7 +2154,7 @@ bytes.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.
@@ -2164,7 +2164,7 @@ The bytes objects frm and to must be of the same length.
static PyObject *
bytes_maketrans_impl(Py_buffer *frm, Py_buffer *to)
-/*[clinic end generated code: output=a36f6399d4b77f6f input=de7a8fc5632bb8f1]*/
+/*[clinic end generated code: output=a36f6399d4b77f6f input=a3bd00d430a0979f]*/
{
return _Py_bytes_maketrans(frm, to);
}