summaryrefslogtreecommitdiffstats
path: root/Modules/imageop.c
diff options
context:
space:
mode:
authorMartin v. Löwis <martin@v.loewis.de>2002-01-17 23:15:58 (GMT)
committerMartin v. Löwis <martin@v.loewis.de>2002-01-17 23:15:58 (GMT)
commit43b936d08c51726205123ae1af5c5f8b5d3b6fcb (patch)
tree1c3e3fd7ec72d71f92f1f0480291c5efc7f19eaf /Modules/imageop.c
parentc0e1671c71dfcf25c8584b06a2e9584a8806a325 (diff)
downloadcpython-43b936d08c51726205123ae1af5c5f8b5d3b6fcb.zip
cpython-43b936d08c51726205123ae1af5c5f8b5d3b6fcb.tar.gz
cpython-43b936d08c51726205123ae1af5c5f8b5d3b6fcb.tar.bz2
Patch #477750: Use METH_ constants in Modules.
Diffstat (limited to 'Modules/imageop.c')
-rw-r--r--Modules/imageop.c30
1 files changed, 15 insertions, 15 deletions
diff --git a/Modules/imageop.c b/Modules/imageop.c
index 586133b..ca31040 100644
--- a/Modules/imageop.c
+++ b/Modules/imageop.c
@@ -677,21 +677,21 @@ imageop_mul(object *self, object *args)
*/
static PyMethodDef imageop_methods[] = {
- { "crop", imageop_crop },
- { "scale", imageop_scale },
- { "grey2mono", imageop_grey2mono },
- { "grey2grey2", imageop_grey2grey2 },
- { "grey2grey4", imageop_grey2grey4 },
- { "dither2mono", imageop_dither2mono },
- { "dither2grey2", imageop_dither2grey2 },
- { "mono2grey", imageop_mono2grey },
- { "grey22grey", imageop_grey22grey },
- { "grey42grey", imageop_grey42grey },
- { "tovideo", imageop_tovideo },
- { "rgb2rgb8", imageop_rgb2rgb8 },
- { "rgb82rgb", imageop_rgb82rgb },
- { "rgb2grey", imageop_rgb2grey },
- { "grey2rgb", imageop_grey2rgb },
+ { "crop", imageop_crop, METH_OLDARGS },
+ { "scale", imageop_scale, METH_OLDARGS },
+ { "grey2mono", imageop_grey2mono, METH_OLDARGS },
+ { "grey2grey2", imageop_grey2grey2, METH_OLDARGS },
+ { "grey2grey4", imageop_grey2grey4, METH_OLDARGS },
+ { "dither2mono", imageop_dither2mono, METH_OLDARGS },
+ { "dither2grey2", imageop_dither2grey2, METH_OLDARGS },
+ { "mono2grey", imageop_mono2grey, METH_OLDARGS },
+ { "grey22grey", imageop_grey22grey, METH_OLDARGS },
+ { "grey42grey", imageop_grey42grey, METH_OLDARGS },
+ { "tovideo", imageop_tovideo, METH_OLDARGS },
+ { "rgb2rgb8", imageop_rgb2rgb8, METH_OLDARGS },
+ { "rgb82rgb", imageop_rgb82rgb, METH_OLDARGS },
+ { "rgb2grey", imageop_rgb2grey, METH_OLDARGS },
+ { "grey2rgb", imageop_grey2rgb, METH_OLDARGS },
{ 0, 0 }
};