mirror of
https://github.com/python/cpython.git
synced 2025-11-01 10:45:30 +00:00
Issue #27332: Fixed the type of the first argument of module-level functions
generated by Argument Clinic. Patch by Petr Viktorin.
This commit is contained in:
parent
b8a2f51ceb
commit
1a2b24f02d
71 changed files with 1814 additions and 1835 deletions
|
|
@ -607,8 +607,8 @@ Return a new SHA-256 hash object; optionally initialized with a string.
|
|||
[clinic start generated code]*/
|
||||
|
||||
static PyObject *
|
||||
_sha256_sha256_impl(PyModuleDef *module, PyObject *string)
|
||||
/*[clinic end generated code: output=d70e6e2d97112844 input=09cce3fb855056b2]*/
|
||||
_sha256_sha256_impl(PyObject *module, PyObject *string)
|
||||
/*[clinic end generated code: output=fa644436dcea5c31 input=09cce3fb855056b2]*/
|
||||
{
|
||||
SHAobject *new;
|
||||
Py_buffer buf;
|
||||
|
|
@ -647,8 +647,8 @@ Return a new SHA-224 hash object; optionally initialized with a string.
|
|||
[clinic start generated code]*/
|
||||
|
||||
static PyObject *
|
||||
_sha256_sha224_impl(PyModuleDef *module, PyObject *string)
|
||||
/*[clinic end generated code: output=f2822bf28416b42a input=27a04ba24c353a73]*/
|
||||
_sha256_sha224_impl(PyObject *module, PyObject *string)
|
||||
/*[clinic end generated code: output=21e3ba22c3404f93 input=27a04ba24c353a73]*/
|
||||
{
|
||||
SHAobject *new;
|
||||
Py_buffer buf;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue