Mercurial > cpython-lru_cache-weakref
diff Modules/stdwinmodule.c @ 285:85bd7dac13f3 legacy-trunk
printobject now returns an error code
| author | Guido van Rossum <guido@python.org> |
|---|---|
| date | Fri, 07 Jun 1991 22:35:42 +0000 |
| parents | 6811912f672d |
| children | baada20762b0 |
line wrap: on
line diff
--- a/Modules/stdwinmodule.c Fri Jun 07 16:10:43 1991 +0000 +++ b/Modules/stdwinmodule.c Fri Jun 07 22:35:42 1991 +0000 @@ -1286,13 +1286,14 @@ free((char *)wp); } -static void +static int window_print(wp, fp, flags) windowobject *wp; FILE *fp; int flags; { fprintf(fp, "<window titled '%s'>", getstringvalue(wp->w_title)); + return 0; } static object *
