mirror of
https://github.com/python/cpython.git
synced 2025-07-30 06:34:15 +00:00
Stop using METH_OLDARGS implicitly
This commit is contained in:
parent
e2e447b6fb
commit
a84dcd7546
4 changed files with 13 additions and 13 deletions
|
@ -1789,7 +1789,7 @@ static struct PyMethodDef s_methods[] = {
|
|||
{"pack", s_pack, METH_VARARGS, s_pack__doc__},
|
||||
{"pack_into", s_pack_into, METH_VARARGS, s_pack_into__doc__},
|
||||
{"unpack", s_unpack, METH_O, s_unpack__doc__},
|
||||
{"unpack_from", (PyCFunction)s_unpack_from, METH_KEYWORDS,
|
||||
{"unpack_from", (PyCFunction)s_unpack_from, METH_VARARGS|METH_KEYWORDS,
|
||||
s_unpack_from__doc__},
|
||||
{NULL, NULL} /* sentinel */
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue