mirror of
https://github.com/python/cpython.git
synced 2025-07-16 07:45:20 +00:00
str, bytes, bytearray docstring: remove unnecessary [...]
This commit is contained in:
parent
e14e212221
commit
c911bbfd5d
3 changed files with 3 additions and 3 deletions
|
@ -7393,7 +7393,7 @@ unicode_count(PyUnicodeObject *self, PyObject *args)
|
|||
}
|
||||
|
||||
PyDoc_STRVAR(encode__doc__,
|
||||
"S.encode([encoding='utf-8'[, errors='strict']]) -> bytes\n\
|
||||
"S.encode(encoding='utf-8', errors='strict') -> bytes\n\
|
||||
\n\
|
||||
Encode S using the codec registered for encoding. Default encoding\n\
|
||||
is 'utf-8'. errors may be given to set a different error\n\
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue