mirror of
https://github.com/python/cpython.git
synced 2025-12-04 00:30:19 +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
|
|
@ -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);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue