diff options
author | Neal Norwitz <nnorwitz@gmail.com> | 2007-05-22 07:16:44 (GMT) |
---|---|---|
committer | Neal Norwitz <nnorwitz@gmail.com> | 2007-05-22 07:16:44 (GMT) |
commit | a84dcd7546c929187a9ae2b620a0d0cc01efc9bb (patch) | |
tree | 53060eb67767e6332a8f2a54d85890a466d01dd2 /Modules/_struct.c | |
parent | e2e447b6fb272d3537904f61549acdadeef26ad0 (diff) | |
download | cpython-a84dcd7546c929187a9ae2b620a0d0cc01efc9bb.zip cpython-a84dcd7546c929187a9ae2b620a0d0cc01efc9bb.tar.gz cpython-a84dcd7546c929187a9ae2b620a0d0cc01efc9bb.tar.bz2 |
Stop using METH_OLDARGS implicitly
Diffstat (limited to 'Modules/_struct.c')
-rw-r--r-- | Modules/_struct.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Modules/_struct.c b/Modules/_struct.c index 78e88b0..ee938d6 100644 --- a/Modules/_struct.c +++ b/Modules/_struct.c @@ -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 */ }; |