mirror of
https://github.com/python/cpython.git
synced 2025-10-10 00:43:41 +00:00
#17806: Added keyword-argument support for "tabsize" to str/bytes.expandtabs().
This commit is contained in:
parent
b41c2547e0
commit
745d54d2fa
8 changed files with 51 additions and 23 deletions
|
@ -2389,7 +2389,7 @@ bytes_methods[] = {
|
|||
{"decode", (PyCFunction)bytes_decode, METH_VARARGS | METH_KEYWORDS, decode__doc__},
|
||||
{"endswith", (PyCFunction)bytes_endswith, METH_VARARGS,
|
||||
endswith__doc__},
|
||||
{"expandtabs", (PyCFunction)stringlib_expandtabs, METH_VARARGS,
|
||||
{"expandtabs", (PyCFunction)stringlib_expandtabs, METH_VARARGS | METH_KEYWORDS,
|
||||
expandtabs__doc__},
|
||||
{"find", (PyCFunction)bytes_find, METH_VARARGS, find__doc__},
|
||||
{"fromhex", (PyCFunction)bytes_fromhex, METH_VARARGS|METH_CLASS,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue