diff options
author | Ezio Melotti <ezio.melotti@gmail.com> | 2013-11-16 19:10:57 +0200 |
---|---|---|
committer | Ezio Melotti <ezio.melotti@gmail.com> | 2013-11-16 19:10:57 +0200 |
commit | 745d54d2fa1870bbb933579b390fdd1702874ead (patch) | |
tree | 9e0560c56181a5dea12bf970862db77dddba6afd /Objects/bytesobject.c | |
parent | b41c2547e0a5fa75d436d824e5f09f2327354e1a (diff) | |
download | cpython-git-745d54d2fa1870bbb933579b390fdd1702874ead.tar.gz |
#17806: Added keyword-argument support for "tabsize" to str/bytes.expandtabs().
Diffstat (limited to 'Objects/bytesobject.c')
-rw-r--r-- | Objects/bytesobject.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Objects/bytesobject.c b/Objects/bytesobject.c index 0a9d04d6db..efa0192a01 100644 --- a/Objects/bytesobject.c +++ b/Objects/bytesobject.c @@ -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, |