diff options
author | Victor Stinner <victor.stinner@gmail.com> | 2016-09-10 03:00:13 (GMT) |
---|---|---|
committer | Victor Stinner <victor.stinner@gmail.com> | 2016-09-10 03:00:13 (GMT) |
commit | 37e4ef7b17ce6e98ca725c0a53ae14c313c0e48c (patch) | |
tree | f8d51d8b189501476acc7626672de5a3a1ec5538 /Modules/clinic/_lzmamodule.c.h | |
parent | f0ccbbbc577f686ae5b4ab28a8e61bb524433d2d (diff) | |
download | cpython-37e4ef7b17ce6e98ca725c0a53ae14c313c0e48c.zip cpython-37e4ef7b17ce6e98ca725c0a53ae14c313c0e48c.tar.gz cpython-37e4ef7b17ce6e98ca725c0a53ae14c313c0e48c.tar.bz2 |
Issue #27810: Rerun Argument Clinic on all modules
Diffstat (limited to 'Modules/clinic/_lzmamodule.c.h')
-rw-r--r-- | Modules/clinic/_lzmamodule.c.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/Modules/clinic/_lzmamodule.c.h b/Modules/clinic/_lzmamodule.c.h index c2ac89a..9e60759 100644 --- a/Modules/clinic/_lzmamodule.c.h +++ b/Modules/clinic/_lzmamodule.c.h @@ -81,14 +81,14 @@ PyDoc_STRVAR(_lzma_LZMADecompressor_decompress__doc__, "the unused_data attribute."); #define _LZMA_LZMADECOMPRESSOR_DECOMPRESS_METHODDEF \ - {"decompress", (PyCFunction)_lzma_LZMADecompressor_decompress, METH_VARARGS|METH_KEYWORDS, _lzma_LZMADecompressor_decompress__doc__}, + {"decompress", (PyCFunction)_lzma_LZMADecompressor_decompress, METH_FASTCALL, _lzma_LZMADecompressor_decompress__doc__}, static PyObject * _lzma_LZMADecompressor_decompress_impl(Decompressor *self, Py_buffer *data, Py_ssize_t max_length); static PyObject * -_lzma_LZMADecompressor_decompress(Decompressor *self, PyObject *args, PyObject *kwargs) +_lzma_LZMADecompressor_decompress(Decompressor *self, PyObject **args, Py_ssize_t nargs, PyObject *kwnames) { PyObject *return_value = NULL; static const char * const _keywords[] = {"data", "max_length", NULL}; @@ -96,7 +96,7 @@ _lzma_LZMADecompressor_decompress(Decompressor *self, PyObject *args, PyObject * Py_buffer data = {NULL, NULL}; Py_ssize_t max_length = -1; - if (!_PyArg_ParseTupleAndKeywordsFast(args, kwargs, &_parser, + if (!_PyArg_ParseStack(args, nargs, kwnames, &_parser, &data, &max_length)) { goto exit; } @@ -256,4 +256,4 @@ exit: return return_value; } -/*[clinic end generated code: output=9434583fe111c771 input=a9049054013a1b77]*/ +/*[clinic end generated code: output=f27abae460122706 input=a9049054013a1b77]*/ |