diff options
author | Xiang Zhang <angwerzx@126.com> | 2017-05-01 05:12:07 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-05-01 05:12:07 (GMT) |
commit | 1374dbb6940f29c49c2966551a06015857c942cc (patch) | |
tree | c4818f62cc3ea1f0f7cb9f6500d0d12692116fb7 /Modules/clinic | |
parent | 2e624690bd74071358566300b7ef0bc45f444a30 (diff) | |
download | cpython-1374dbb6940f29c49c2966551a06015857c942cc.zip cpython-1374dbb6940f29c49c2966551a06015857c942cc.tar.gz cpython-1374dbb6940f29c49c2966551a06015857c942cc.tar.bz2 |
restore *data* parameter of binascii.b2a_base64 to positional-only (#1352)
Diffstat (limited to 'Modules/clinic')
-rw-r--r-- | Modules/clinic/binascii.c.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/Modules/clinic/binascii.c.h b/Modules/clinic/binascii.c.h index 093d32b..ca5d4c5 100644 --- a/Modules/clinic/binascii.c.h +++ b/Modules/clinic/binascii.c.h @@ -97,7 +97,7 @@ exit: } PyDoc_STRVAR(binascii_b2a_base64__doc__, -"b2a_base64($module, /, data, *, newline=True)\n" +"b2a_base64($module, data, /, *, newline=True)\n" "--\n" "\n" "Base64-code line of data."); @@ -112,7 +112,7 @@ static PyObject * binascii_b2a_base64(PyObject *module, PyObject **args, Py_ssize_t nargs, PyObject *kwnames) { PyObject *return_value = NULL; - static const char * const _keywords[] = {"data", "newline", NULL}; + static const char * const _keywords[] = {"", "newline", NULL}; static _PyArg_Parser _parser = {"y*|$i:b2a_base64", _keywords, 0}; Py_buffer data = {NULL, NULL}; int newline = 1; @@ -558,4 +558,4 @@ exit: return return_value; } -/*[clinic end generated code: output=4a418f883ccc79fe input=a9049054013a1b77]*/ +/*[clinic end generated code: output=35821bce7e0e4714 input=a9049054013a1b77]*/ |