summaryrefslogtreecommitdiffstats
path: root/Modules/binascii.c
diff options
context:
space:
mode:
authorXiang Zhang <angwerzx@126.com>2017-05-01 05:12:07 (GMT)
committerGitHub <noreply@github.com>2017-05-01 05:12:07 (GMT)
commit1374dbb6940f29c49c2966551a06015857c942cc (patch)
treec4818f62cc3ea1f0f7cb9f6500d0d12692116fb7 /Modules/binascii.c
parent2e624690bd74071358566300b7ef0bc45f444a30 (diff)
downloadcpython-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/binascii.c')
-rw-r--r--Modules/binascii.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/Modules/binascii.c b/Modules/binascii.c
index bf6ce86..fbd2320 100644
--- a/Modules/binascii.c
+++ b/Modules/binascii.c
@@ -515,6 +515,7 @@ binascii_a2b_base64_impl(PyObject *module, Py_buffer *data)
binascii.b2a_base64
data: Py_buffer
+ /
*
newline: bool(accept={int}) = True
@@ -523,7 +524,7 @@ Base64-code line of data.
static PyObject *
binascii_b2a_base64_impl(PyObject *module, Py_buffer *data, int newline)
-/*[clinic end generated code: output=4ad62c8e8485d3b3 input=144fd7267a34d51c]*/
+/*[clinic end generated code: output=4ad62c8e8485d3b3 input=6083dac5777fa45d]*/
{
unsigned char *ascii_data;
const unsigned char *bin_data;