Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
C
cpython
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
cpython
Commits
00cc4ca0
Commit
00cc4ca0
authored
Sep 11, 2016
by
Serhiy Storchaka
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Issue #27810: Regenerate Argument Clinic.
parent
186f8b86
Changes
4
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
28 additions
and
28 deletions
+28
-28
Modules/_io/clinic/_iomodule.c.h
Modules/_io/clinic/_iomodule.c.h
+4
-4
Modules/_io/clinic/textio.c.h
Modules/_io/clinic/textio.c.h
+4
-4
Modules/_sha3/clinic/sha3module.c.h
Modules/_sha3/clinic/sha3module.c.h
+7
-7
Modules/cjkcodecs/clinic/multibytecodec.c.h
Modules/cjkcodecs/clinic/multibytecodec.c.h
+13
-13
No files found.
Modules/_io/clinic/_iomodule.c.h
View file @
00cc4ca0
...
...
@@ -127,7 +127,7 @@ PyDoc_STRVAR(_io_open__doc__,
"opened in a binary mode."
);
#define _IO_OPEN_METHODDEF \
{"open", (PyCFunction)_io_open, METH_
VARARGS|METH_KEYWORDS
, _io_open__doc__},
{"open", (PyCFunction)_io_open, METH_
FASTCALL
, _io_open__doc__},
static
PyObject
*
_io_open_impl
(
PyObject
*
module
,
PyObject
*
file
,
const
char
*
mode
,
...
...
@@ -135,7 +135,7 @@ _io_open_impl(PyObject *module, PyObject *file, const char *mode,
const
char
*
newline
,
int
closefd
,
PyObject
*
opener
);
static
PyObject
*
_io_open
(
PyObject
*
module
,
PyObject
*
args
,
PyObject
*
kwarg
s
)
_io_open
(
PyObject
*
module
,
PyObject
*
*
args
,
Py_ssize_t
nargs
,
PyObject
*
kwname
s
)
{
PyObject
*
return_value
=
NULL
;
static
const
char
*
const
_keywords
[]
=
{
"file"
,
"mode"
,
"buffering"
,
"encoding"
,
"errors"
,
"newline"
,
"closefd"
,
"opener"
,
NULL
};
...
...
@@ -149,7 +149,7 @@ _io_open(PyObject *module, PyObject *args, PyObject *kwargs)
int
closefd
=
1
;
PyObject
*
opener
=
Py_None
;
if
(
!
_PyArg_Parse
TupleAndKeywordsFast
(
args
,
kwarg
s
,
&
_parser
,
if
(
!
_PyArg_Parse
Stack
(
args
,
nargs
,
kwname
s
,
&
_parser
,
&
file
,
&
mode
,
&
buffering
,
&
encoding
,
&
errors
,
&
newline
,
&
closefd
,
&
opener
))
{
goto
exit
;
}
...
...
@@ -158,4 +158,4 @@ _io_open(PyObject *module, PyObject *args, PyObject *kwargs)
exit:
return
return_value
;
}
/*[clinic end generated code: output=
14769629391a3130
input=a9049054013a1b77]*/
/*[clinic end generated code: output=
c5b8fc8b83102bbf
input=a9049054013a1b77]*/
Modules/_io/clinic/textio.c.h
View file @
00cc4ca0
...
...
@@ -46,14 +46,14 @@ PyDoc_STRVAR(_io_IncrementalNewlineDecoder_decode__doc__,
"
\n
"
);
#define _IO_INCREMENTALNEWLINEDECODER_DECODE_METHODDEF \
{"decode", (PyCFunction)_io_IncrementalNewlineDecoder_decode, METH_
VARARGS|METH_KEYWORDS
, _io_IncrementalNewlineDecoder_decode__doc__},
{"decode", (PyCFunction)_io_IncrementalNewlineDecoder_decode, METH_
FASTCALL
, _io_IncrementalNewlineDecoder_decode__doc__},
static
PyObject
*
_io_IncrementalNewlineDecoder_decode_impl
(
nldecoder_object
*
self
,
PyObject
*
input
,
int
final
);
static
PyObject
*
_io_IncrementalNewlineDecoder_decode
(
nldecoder_object
*
self
,
PyObject
*
args
,
PyObject
*
kwarg
s
)
_io_IncrementalNewlineDecoder_decode
(
nldecoder_object
*
self
,
PyObject
*
*
args
,
Py_ssize_t
nargs
,
PyObject
*
kwname
s
)
{
PyObject
*
return_value
=
NULL
;
static
const
char
*
const
_keywords
[]
=
{
"input"
,
"final"
,
NULL
};
...
...
@@ -61,7 +61,7 @@ _io_IncrementalNewlineDecoder_decode(nldecoder_object *self, PyObject *args, PyO
PyObject
*
input
;
int
final
=
0
;
if
(
!
_PyArg_Parse
TupleAndKeywordsFast
(
args
,
kwarg
s
,
&
_parser
,
if
(
!
_PyArg_Parse
Stack
(
args
,
nargs
,
kwname
s
,
&
_parser
,
&
input
,
&
final
))
{
goto
exit
;
}
...
...
@@ -464,4 +464,4 @@ _io_TextIOWrapper_close(textio *self, PyObject *Py_UNUSED(ignored))
{
return
_io_TextIOWrapper_close_impl
(
self
);
}
/*[clinic end generated code: output=7
ec624a9bf6393f5
input=a9049054013a1b77]*/
/*[clinic end generated code: output=7
8ad14eba1667254
input=a9049054013a1b77]*/
Modules/_sha3/clinic/sha3module.c.h
View file @
00cc4ca0
...
...
@@ -99,20 +99,20 @@ PyDoc_STRVAR(_sha3_shake_128_digest__doc__,
"Return the digest value as a string of binary data."
);
#define _SHA3_SHAKE_128_DIGEST_METHODDEF \
{"digest", (PyCFunction)_sha3_shake_128_digest, METH_
VARARGS|METH_KEYWORDS
, _sha3_shake_128_digest__doc__},
{"digest", (PyCFunction)_sha3_shake_128_digest, METH_
FASTCALL
, _sha3_shake_128_digest__doc__},
static
PyObject
*
_sha3_shake_128_digest_impl
(
SHA3object
*
self
,
unsigned
long
length
);
static
PyObject
*
_sha3_shake_128_digest
(
SHA3object
*
self
,
PyObject
*
args
,
PyObject
*
kwarg
s
)
_sha3_shake_128_digest
(
SHA3object
*
self
,
PyObject
*
*
args
,
Py_ssize_t
nargs
,
PyObject
*
kwname
s
)
{
PyObject
*
return_value
=
NULL
;
static
const
char
*
const
_keywords
[]
=
{
"length"
,
NULL
};
static
_PyArg_Parser
_parser
=
{
"k:digest"
,
_keywords
,
0
};
unsigned
long
length
;
if
(
!
_PyArg_Parse
TupleAndKeywordsFast
(
args
,
kwarg
s
,
&
_parser
,
if
(
!
_PyArg_Parse
Stack
(
args
,
nargs
,
kwname
s
,
&
_parser
,
&
length
))
{
goto
exit
;
}
...
...
@@ -129,20 +129,20 @@ PyDoc_STRVAR(_sha3_shake_128_hexdigest__doc__,
"Return the digest value as a string of hexadecimal digits."
);
#define _SHA3_SHAKE_128_HEXDIGEST_METHODDEF \
{"hexdigest", (PyCFunction)_sha3_shake_128_hexdigest, METH_
VARARGS|METH_KEYWORDS
, _sha3_shake_128_hexdigest__doc__},
{"hexdigest", (PyCFunction)_sha3_shake_128_hexdigest, METH_
FASTCALL
, _sha3_shake_128_hexdigest__doc__},
static
PyObject
*
_sha3_shake_128_hexdigest_impl
(
SHA3object
*
self
,
unsigned
long
length
);
static
PyObject
*
_sha3_shake_128_hexdigest
(
SHA3object
*
self
,
PyObject
*
args
,
PyObject
*
kwarg
s
)
_sha3_shake_128_hexdigest
(
SHA3object
*
self
,
PyObject
*
*
args
,
Py_ssize_t
nargs
,
PyObject
*
kwname
s
)
{
PyObject
*
return_value
=
NULL
;
static
const
char
*
const
_keywords
[]
=
{
"length"
,
NULL
};
static
_PyArg_Parser
_parser
=
{
"k:hexdigest"
,
_keywords
,
0
};
unsigned
long
length
;
if
(
!
_PyArg_Parse
TupleAndKeywordsFast
(
args
,
kwarg
s
,
&
_parser
,
if
(
!
_PyArg_Parse
Stack
(
args
,
nargs
,
kwname
s
,
&
_parser
,
&
length
))
{
goto
exit
;
}
...
...
@@ -151,4 +151,4 @@ _sha3_shake_128_hexdigest(SHA3object *self, PyObject *args, PyObject *kwargs)
exit:
return
return_value
;
}
/*[clinic end generated code: output=
50cff05f2c74d41e
input=a9049054013a1b77]*/
/*[clinic end generated code: output=
9888beab45136a56
input=a9049054013a1b77]*/
Modules/cjkcodecs/clinic/multibytecodec.c.h
View file @
00cc4ca0
...
...
@@ -14,7 +14,7 @@ PyDoc_STRVAR(_multibytecodec_MultibyteCodec_encode__doc__,
"registered with codecs.register_error that can handle UnicodeEncodeErrors."
);
#define _MULTIBYTECODEC_MULTIBYTECODEC_ENCODE_METHODDEF \
{"encode", (PyCFunction)_multibytecodec_MultibyteCodec_encode, METH_
VARARGS|METH_KEYWORDS
, _multibytecodec_MultibyteCodec_encode__doc__},
{"encode", (PyCFunction)_multibytecodec_MultibyteCodec_encode, METH_
FASTCALL
, _multibytecodec_MultibyteCodec_encode__doc__},
static
PyObject
*
_multibytecodec_MultibyteCodec_encode_impl
(
MultibyteCodecObject
*
self
,
...
...
@@ -22,7 +22,7 @@ _multibytecodec_MultibyteCodec_encode_impl(MultibyteCodecObject *self,
const
char
*
errors
);
static
PyObject
*
_multibytecodec_MultibyteCodec_encode
(
MultibyteCodecObject
*
self
,
PyObject
*
args
,
PyObject
*
kwarg
s
)
_multibytecodec_MultibyteCodec_encode
(
MultibyteCodecObject
*
self
,
PyObject
*
*
args
,
Py_ssize_t
nargs
,
PyObject
*
kwname
s
)
{
PyObject
*
return_value
=
NULL
;
static
const
char
*
const
_keywords
[]
=
{
"input"
,
"errors"
,
NULL
};
...
...
@@ -30,7 +30,7 @@ _multibytecodec_MultibyteCodec_encode(MultibyteCodecObject *self, PyObject *args
PyObject
*
input
;
const
char
*
errors
=
NULL
;
if
(
!
_PyArg_Parse
TupleAndKeywordsFast
(
args
,
kwarg
s
,
&
_parser
,
if
(
!
_PyArg_Parse
Stack
(
args
,
nargs
,
kwname
s
,
&
_parser
,
&
input
,
&
errors
))
{
goto
exit
;
}
...
...
@@ -52,7 +52,7 @@ PyDoc_STRVAR(_multibytecodec_MultibyteCodec_decode__doc__,
"codecs.register_error that is able to handle UnicodeDecodeErrors.
\"
"
);
#define _MULTIBYTECODEC_MULTIBYTECODEC_DECODE_METHODDEF \
{"decode", (PyCFunction)_multibytecodec_MultibyteCodec_decode, METH_
VARARGS|METH_KEYWORDS
, _multibytecodec_MultibyteCodec_decode__doc__},
{"decode", (PyCFunction)_multibytecodec_MultibyteCodec_decode, METH_
FASTCALL
, _multibytecodec_MultibyteCodec_decode__doc__},
static
PyObject
*
_multibytecodec_MultibyteCodec_decode_impl
(
MultibyteCodecObject
*
self
,
...
...
@@ -60,7 +60,7 @@ _multibytecodec_MultibyteCodec_decode_impl(MultibyteCodecObject *self,
const
char
*
errors
);
static
PyObject
*
_multibytecodec_MultibyteCodec_decode
(
MultibyteCodecObject
*
self
,
PyObject
*
args
,
PyObject
*
kwarg
s
)
_multibytecodec_MultibyteCodec_decode
(
MultibyteCodecObject
*
self
,
PyObject
*
*
args
,
Py_ssize_t
nargs
,
PyObject
*
kwname
s
)
{
PyObject
*
return_value
=
NULL
;
static
const
char
*
const
_keywords
[]
=
{
"input"
,
"errors"
,
NULL
};
...
...
@@ -68,7 +68,7 @@ _multibytecodec_MultibyteCodec_decode(MultibyteCodecObject *self, PyObject *args
Py_buffer
input
=
{
NULL
,
NULL
};
const
char
*
errors
=
NULL
;
if
(
!
_PyArg_Parse
TupleAndKeywordsFast
(
args
,
kwarg
s
,
&
_parser
,
if
(
!
_PyArg_Parse
Stack
(
args
,
nargs
,
kwname
s
,
&
_parser
,
&
input
,
&
errors
))
{
goto
exit
;
}
...
...
@@ -89,7 +89,7 @@ PyDoc_STRVAR(_multibytecodec_MultibyteIncrementalEncoder_encode__doc__,
"
\n
"
);
#define _MULTIBYTECODEC_MULTIBYTEINCREMENTALENCODER_ENCODE_METHODDEF \
{"encode", (PyCFunction)_multibytecodec_MultibyteIncrementalEncoder_encode, METH_
VARARGS|METH_KEYWORDS
, _multibytecodec_MultibyteIncrementalEncoder_encode__doc__},
{"encode", (PyCFunction)_multibytecodec_MultibyteIncrementalEncoder_encode, METH_
FASTCALL
, _multibytecodec_MultibyteIncrementalEncoder_encode__doc__},
static
PyObject
*
_multibytecodec_MultibyteIncrementalEncoder_encode_impl
(
MultibyteIncrementalEncoderObject
*
self
,
...
...
@@ -97,7 +97,7 @@ _multibytecodec_MultibyteIncrementalEncoder_encode_impl(MultibyteIncrementalEnco
int
final
);
static
PyObject
*
_multibytecodec_MultibyteIncrementalEncoder_encode
(
MultibyteIncrementalEncoderObject
*
self
,
PyObject
*
args
,
PyObject
*
kwarg
s
)
_multibytecodec_MultibyteIncrementalEncoder_encode
(
MultibyteIncrementalEncoderObject
*
self
,
PyObject
*
*
args
,
Py_ssize_t
nargs
,
PyObject
*
kwname
s
)
{
PyObject
*
return_value
=
NULL
;
static
const
char
*
const
_keywords
[]
=
{
"input"
,
"final"
,
NULL
};
...
...
@@ -105,7 +105,7 @@ _multibytecodec_MultibyteIncrementalEncoder_encode(MultibyteIncrementalEncoderOb
PyObject
*
input
;
int
final
=
0
;
if
(
!
_PyArg_Parse
TupleAndKeywordsFast
(
args
,
kwarg
s
,
&
_parser
,
if
(
!
_PyArg_Parse
Stack
(
args
,
nargs
,
kwname
s
,
&
_parser
,
&
input
,
&
final
))
{
goto
exit
;
}
...
...
@@ -138,7 +138,7 @@ PyDoc_STRVAR(_multibytecodec_MultibyteIncrementalDecoder_decode__doc__,
"
\n
"
);
#define _MULTIBYTECODEC_MULTIBYTEINCREMENTALDECODER_DECODE_METHODDEF \
{"decode", (PyCFunction)_multibytecodec_MultibyteIncrementalDecoder_decode, METH_
VARARGS|METH_KEYWORDS
, _multibytecodec_MultibyteIncrementalDecoder_decode__doc__},
{"decode", (PyCFunction)_multibytecodec_MultibyteIncrementalDecoder_decode, METH_
FASTCALL
, _multibytecodec_MultibyteIncrementalDecoder_decode__doc__},
static
PyObject
*
_multibytecodec_MultibyteIncrementalDecoder_decode_impl
(
MultibyteIncrementalDecoderObject
*
self
,
...
...
@@ -146,7 +146,7 @@ _multibytecodec_MultibyteIncrementalDecoder_decode_impl(MultibyteIncrementalDeco
int
final
);
static
PyObject
*
_multibytecodec_MultibyteIncrementalDecoder_decode
(
MultibyteIncrementalDecoderObject
*
self
,
PyObject
*
args
,
PyObject
*
kwarg
s
)
_multibytecodec_MultibyteIncrementalDecoder_decode
(
MultibyteIncrementalDecoderObject
*
self
,
PyObject
*
*
args
,
Py_ssize_t
nargs
,
PyObject
*
kwname
s
)
{
PyObject
*
return_value
=
NULL
;
static
const
char
*
const
_keywords
[]
=
{
"input"
,
"final"
,
NULL
};
...
...
@@ -154,7 +154,7 @@ _multibytecodec_MultibyteIncrementalDecoder_decode(MultibyteIncrementalDecoderOb
Py_buffer
input
=
{
NULL
,
NULL
};
int
final
=
0
;
if
(
!
_PyArg_Parse
TupleAndKeywordsFast
(
args
,
kwarg
s
,
&
_parser
,
if
(
!
_PyArg_Parse
Stack
(
args
,
nargs
,
kwname
s
,
&
_parser
,
&
input
,
&
final
))
{
goto
exit
;
}
...
...
@@ -330,4 +330,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=
8e86fa162c85230b
input=a9049054013a1b77]*/
/*[clinic end generated code: output=
134b9e36cb985939
input=a9049054013a1b77]*/
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment