Mercurial > cpython-lru_cache-weakref
diff Objects/bytesobject.c @ 87153:82b58807f481
#17806: Added keyword-argument support for "tabsize" to str/bytes.expandtabs().
| author | Ezio Melotti <ezio.melotti@gmail.com> |
|---|---|
| date | Sat, 16 Nov 2013 19:10:57 +0200 |
| parents | 5fa291435740 |
| children | adb471b9cba1 |
line wrap: on
line diff
--- a/Objects/bytesobject.c Sat Nov 16 10:47:17 2013 -0500 +++ b/Objects/bytesobject.c Sat Nov 16 19:10:57 2013 +0200 @@ -2389,7 +2389,7 @@ {"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,
