summaryrefslogtreecommitdiff
path: root/Objects/moduleobject.c
diff options
context:
space:
mode:
Diffstat (limited to 'Objects/moduleobject.c')
-rw-r--r--Objects/moduleobject.c13
1 files changed, 1 insertions, 12 deletions
diff --git a/Objects/moduleobject.c b/Objects/moduleobject.c
index aedba35bca..9733a774b9 100644
--- a/Objects/moduleobject.c
+++ b/Objects/moduleobject.c
@@ -83,17 +83,6 @@ module_dealloc(m)
free((char *)m);
}
-/* ARGSUSED */
-static int
-module_print(m, fp, flags)
- moduleobject *m;
- FILE *fp;
- int flags; /* Not used but required by interface */
-{
- fprintf(fp, "<module '%s'>", getstringvalue(m->md_name));
- return 0;
-}
-
static object *
module_repr(m)
moduleobject *m;
@@ -153,7 +142,7 @@ typeobject Moduletype = {
sizeof(moduleobject), /*tp_size*/
0, /*tp_itemsize*/
module_dealloc, /*tp_dealloc*/
- module_print, /*tp_print*/
+ 0, /*tp_print*/
module_getattr, /*tp_getattr*/
module_setattr, /*tp_setattr*/
0, /*tp_compare*/