Mercurial > cpython-lru_cache-weakref
diff Modules/stdwinmodule.c @ 1051:f54e64c8b9b7 legacy-trunk
* Makefile: added IMGFILE; moved some stuff around.
* flmodule.c: added some missing functions; changed readonly flags of
some data members based upon FORMS documentation.
* listobject.c: fixed int/long arg lint bug (bites PC compilers).
* several: removed redundant print methods (repr is good enough).
* posixmodule.c: added (still experimental) process group functions.
| author | Guido van Rossum <guido@python.org> |
|---|---|
| date | Thu, 17 Sep 1992 17:54:56 +0000 |
| parents | 7a11a70f7f44 |
| children | 38f0054f44a7 |
line wrap: on
line diff
--- a/Modules/stdwinmodule.c Sun Sep 13 20:07:29 1992 +0000 +++ b/Modules/stdwinmodule.c Thu Sep 17 17:54:56 1992 +0000 @@ -1311,18 +1311,6 @@ free((char *)wp); } -static int -window_print(wp, fp, flags) - windowobject *wp; - FILE *fp; - int flags; -{ - fprintf(fp, "<%s window titled '%s'>", - wp->w_win == NULL ? "closed" : "open", - getstringvalue(wp->w_title)); - return 0; -} - static object * window_close(wp, args) windowobject *wp; @@ -1684,7 +1672,7 @@ 0, /*tp_itemsize*/ /* methods */ window_dealloc, /*tp_dealloc*/ - window_print, /*tp_print*/ + 0, /*tp_print*/ window_getattr, /*tp_getattr*/ window_setattr, /*tp_setattr*/ 0, /*tp_compare*/
