]> granicus.if.org Git - python/commit
SF patch 660559: Use METH_O and METH_NOARGS where possible
authorRaymond Hettinger <python@rcn.com>
Fri, 3 Jan 2003 08:24:58 +0000 (08:24 +0000)
committerRaymond Hettinger <python@rcn.com>
Fri, 3 Jan 2003 08:24:58 +0000 (08:24 +0000)
commit36cd2bf4596fdffee0392335aca8bd221d46584a
treee3dd4573989e264d438ad94e072adc72fa54345d
parentf349e26e4d204d64bc5b6414819f9dedf1d2987e
SF patch 660559: Use METH_O and METH_NOARGS where possible

Simplify code and speed access by using PyArg_UnpackTuple, METH_O and
METH_NOARGS in three modules that can benefit from it.
Modules/arraymodule.c
Modules/cStringIO.c
Modules/operator.c