mirror of
https://github.com/python/cpython.git
synced 2025-08-22 09:45:06 +00:00
fix typos (#106247)
Most typos are in comments, but two typos are in docstring.
This commit is contained in:
parent
cd580910e1
commit
77ddc9a7b1
8 changed files with 12 additions and 12 deletions
|
@ -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);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue