Mercurial > cpython-lru_cache-weakref
diff Modules/_struct.c @ 41816:ec83d21065aa legacy-trunk
Stop using METH_OLDARGS implicitly
| author | Neal Norwitz <nnorwitz@gmail.com> |
|---|---|
| date | Tue, 22 May 2007 07:16:44 +0000 |
| parents | 708c8c5fc173 |
| children | 6620a510e9a9 |
line wrap: on
line diff
--- a/Modules/_struct.c Tue May 22 07:16:10 2007 +0000 +++ b/Modules/_struct.c Tue May 22 07:16:44 2007 +0000 @@ -1789,7 +1789,7 @@ {"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 */ };
