summaryrefslogtreecommitdiff
path: root/Modules/cjkcodecs
diff options
context:
space:
mode:
authorSerhiy Storchaka <storchaka@gmail.com>2015-04-24 00:40:51 +0300
committerSerhiy Storchaka <storchaka@gmail.com>2015-04-24 00:40:51 +0300
commitfb2b5bbc6a941ec46c28262cce7d55f4bea2658e (patch)
treed32151221a57afe4754ceaa913b63d7a53ca32a4 /Modules/cjkcodecs
parent965866d24a9ec4aa964c77e1c604c239dd618726 (diff)
downloadcpython-fb2b5bbc6a941ec46c28262cce7d55f4bea2658e.tar.gz
Issue #24007: Argument Clinic now writes the format of PyArg_Parse*() at the
same line as function name.
Diffstat (limited to 'Modules/cjkcodecs')
-rw-r--r--Modules/cjkcodecs/clinic/multibytecodec.c.h14
1 files changed, 5 insertions, 9 deletions
diff --git a/Modules/cjkcodecs/clinic/multibytecodec.c.h b/Modules/cjkcodecs/clinic/multibytecodec.c.h
index d2bad32908..1985147c43 100644
--- a/Modules/cjkcodecs/clinic/multibytecodec.c.h
+++ b/Modules/cjkcodecs/clinic/multibytecodec.c.h
@@ -29,8 +29,7 @@ _multibytecodec_MultibyteCodec_encode(MultibyteCodecObject *self, PyObject *args
PyObject *input;
const char *errors = NULL;
- if (!PyArg_ParseTupleAndKeywords(args, kwargs,
- "O|z:encode", _keywords,
+ if (!PyArg_ParseTupleAndKeywords(args, kwargs, "O|z:encode", _keywords,
&input, &errors))
goto exit;
return_value = _multibytecodec_MultibyteCodec_encode_impl(self, input, errors);
@@ -66,8 +65,7 @@ _multibytecodec_MultibyteCodec_decode(MultibyteCodecObject *self, PyObject *args
Py_buffer input = {NULL, NULL};
const char *errors = NULL;
- if (!PyArg_ParseTupleAndKeywords(args, kwargs,
- "y*|z:decode", _keywords,
+ if (!PyArg_ParseTupleAndKeywords(args, kwargs, "y*|z:decode", _keywords,
&input, &errors))
goto exit;
return_value = _multibytecodec_MultibyteCodec_decode_impl(self, &input, errors);
@@ -101,8 +99,7 @@ _multibytecodec_MultibyteIncrementalEncoder_encode(MultibyteIncrementalEncoderOb
PyObject *input;
int final = 0;
- if (!PyArg_ParseTupleAndKeywords(args, kwargs,
- "O|i:encode", _keywords,
+ if (!PyArg_ParseTupleAndKeywords(args, kwargs, "O|i:encode", _keywords,
&input, &final))
goto exit;
return_value = _multibytecodec_MultibyteIncrementalEncoder_encode_impl(self, input, final);
@@ -149,8 +146,7 @@ _multibytecodec_MultibyteIncrementalDecoder_decode(MultibyteIncrementalDecoderOb
Py_buffer input = {NULL, NULL};
int final = 0;
- if (!PyArg_ParseTupleAndKeywords(args, kwargs,
- "y*|i:decode", _keywords,
+ if (!PyArg_ParseTupleAndKeywords(args, kwargs, "y*|i:decode", _keywords,
&input, &final))
goto exit;
return_value = _multibytecodec_MultibyteIncrementalDecoder_decode_impl(self, &input, final);
@@ -321,4 +317,4 @@ PyDoc_STRVAR(_multibytecodec___create_codec__doc__,
#define _MULTIBYTECODEC___CREATE_CODEC_METHODDEF \
{"__create_codec", (PyCFunction)_multibytecodec___create_codec, METH_O, _multibytecodec___create_codec__doc__},
-/*[clinic end generated code: output=0fe582cb941024c1 input=a9049054013a1b77]*/
+/*[clinic end generated code: output=c104f5fd548c1ac5 input=a9049054013a1b77]*/