Mercurial > cpython-lru_cache-weakref
diff Objects/moduleobject.c @ 284:6ac402023cac legacy-trunk
printobject now returns an error code
| author | Guido van Rossum <guido@python.org> |
|---|---|
| date | Fri, 07 Jun 1991 16:10:43 +0000 |
| parents | 853b736a6a9e |
| children | e2c3463c4d91 |
line wrap: on
line diff
--- a/Objects/moduleobject.c Fri Jun 07 14:31:11 1991 +0000 +++ b/Objects/moduleobject.c Fri Jun 07 16:10:43 1991 +0000 @@ -83,13 +83,14 @@ free((char *)m); } -static void +static int module_print(m, fp, flags) moduleobject *m; FILE *fp; int flags; { fprintf(fp, "<module '%s'>", getstringvalue(m->md_name)); + return 0; } static object *
