diff options
author | Serhiy Storchaka <storchaka@gmail.com> | 2015-05-30 08:30:39 (GMT) |
---|---|---|
committer | Serhiy Storchaka <storchaka@gmail.com> | 2015-05-30 08:30:39 (GMT) |
commit | 8b2e8b6cce4960e945c7c635c350c8e44a0f9022 (patch) | |
tree | 1e5bec3737bb877e4c0d16ac32f60450f957d7dd /Modules/cjkcodecs/multibytecodec.c | |
parent | 7e810a6e3d51e512968f6ac276e555ea99d151d8 (diff) | |
download | cpython-8b2e8b6cce4960e945c7c635c350c8e44a0f9022.zip cpython-8b2e8b6cce4960e945c7c635c350c8e44a0f9022.tar.gz cpython-8b2e8b6cce4960e945c7c635c350c8e44a0f9022.tar.bz2 |
Specify default values of semantic booleans in Argument Clinic generated signatures as booleans.
Diffstat (limited to 'Modules/cjkcodecs/multibytecodec.c')
-rw-r--r-- | Modules/cjkcodecs/multibytecodec.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/Modules/cjkcodecs/multibytecodec.c b/Modules/cjkcodecs/multibytecodec.c index c4dff41..c051514 100644 --- a/Modules/cjkcodecs/multibytecodec.c +++ b/Modules/cjkcodecs/multibytecodec.c @@ -884,14 +884,14 @@ decoder_feed_buffer(MultibyteStatefulDecoderContext *ctx, _multibytecodec.MultibyteIncrementalEncoder.encode input: object - final: int = 0 + final: int(c_default="0") = False [clinic start generated code]*/ static PyObject * _multibytecodec_MultibyteIncrementalEncoder_encode_impl(MultibyteIncrementalEncoderObject *self, PyObject *input, int final) -/*[clinic end generated code: output=123361b6c505e2c1 input=456b76d73e464661]*/ +/*[clinic end generated code: output=123361b6c505e2c1 input=a345c688fa664f92]*/ { return encoder_encode_stateful(STATEFUL_ECTX(self), input, final); } @@ -1041,14 +1041,14 @@ static PyTypeObject MultibyteIncrementalEncoder_Type = { _multibytecodec.MultibyteIncrementalDecoder.decode input: Py_buffer - final: int = 0 + final: int(c_default="0") = False [clinic start generated code]*/ static PyObject * _multibytecodec_MultibyteIncrementalDecoder_decode_impl(MultibyteIncrementalDecoderObject *self, Py_buffer *input, int final) -/*[clinic end generated code: output=b9b9090e8a9ce2ba input=eb18c2f6e83589e1]*/ +/*[clinic end generated code: output=b9b9090e8a9ce2ba input=576631c61906d39d]*/ { MultibyteDecodeBuffer buf; char *data, *wdata = NULL; |