diff options
author | Serhiy Storchaka <storchaka@gmail.com> | 2016-07-07 15:20:03 (GMT) |
---|---|---|
committer | Serhiy Storchaka <storchaka@gmail.com> | 2016-07-07 15:20:03 (GMT) |
commit | 2954f8399914c77e048f9e3358abfadb7a3f76e9 (patch) | |
tree | c8398eb8aa516e897bbafe9e43cb115d0365bcb0 /Modules/_lzmamodule.c | |
parent | 50600a78cb6b0e4ea47033a2fd5e982c20a5d946 (diff) | |
parent | 1a2b24f02dfd4eb3383f6ae2b59e5a4eb66fd5bb (diff) | |
download | cpython-2954f8399914c77e048f9e3358abfadb7a3f76e9.zip cpython-2954f8399914c77e048f9e3358abfadb7a3f76e9.tar.gz cpython-2954f8399914c77e048f9e3358abfadb7a3f76e9.tar.bz2 |
- Issue #27332: Fixed the type of the first argument of module-level functions
generated by Argument Clinic. Patch by Petr Viktorin.
Diffstat (limited to 'Modules/_lzmamodule.c')
-rw-r--r-- | Modules/_lzmamodule.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/Modules/_lzmamodule.c b/Modules/_lzmamodule.c index 526dcef..ce4e17f 100644 --- a/Modules/_lzmamodule.c +++ b/Modules/_lzmamodule.c @@ -1336,8 +1336,8 @@ Always returns True for CHECK_NONE and CHECK_CRC32. [clinic start generated code]*/ static PyObject * -_lzma_is_check_supported_impl(PyModuleDef *module, int check_id) -/*[clinic end generated code: output=bb828e90e00ad96e input=5518297b97b2318f]*/ +_lzma_is_check_supported_impl(PyObject *module, int check_id) +/*[clinic end generated code: output=e4f14ba3ce2ad0a5 input=5518297b97b2318f]*/ { return PyBool_FromLong(lzma_check_is_supported(check_id)); } @@ -1354,8 +1354,8 @@ The result does not include the filter ID itself, only the options. [clinic start generated code]*/ static PyObject * -_lzma__encode_filter_properties_impl(PyModuleDef *module, lzma_filter filter) -/*[clinic end generated code: output=b5fe690acd6b61d1 input=d4c64f1b557c77d4]*/ +_lzma__encode_filter_properties_impl(PyObject *module, lzma_filter filter) +/*[clinic end generated code: output=5c93c8e14e7be5a8 input=d4c64f1b557c77d4]*/ { lzma_ret lzret; uint32_t encoded_size; @@ -1394,9 +1394,9 @@ The result does not include the filter ID itself, only the options. [clinic start generated code]*/ static PyObject * -_lzma__decode_filter_properties_impl(PyModuleDef *module, lzma_vli filter_id, +_lzma__decode_filter_properties_impl(PyObject *module, lzma_vli filter_id, Py_buffer *encoded_props) -/*[clinic end generated code: output=af248f570746668b input=246410800782160c]*/ +/*[clinic end generated code: output=714fd2ef565d5c60 input=246410800782160c]*/ { lzma_filter filter; lzma_ret lzret; |