diff options
author | Guido van Rossum <guido@python.org> | 1992-09-17 17:54:56 (GMT) |
---|---|---|
committer | Guido van Rossum <guido@python.org> | 1992-09-17 17:54:56 (GMT) |
commit | 7066dd75c5ee8385135541d03fb8edd8939ad740 (patch) | |
tree | e118a32af87a83e295de0985b67da90524203c6a /Modules/stdwinmodule.c | |
parent | c2670a000bd69fb689a7b05436ff0091052f4f3c (diff) | |
download | cpython-7066dd75c5ee8385135541d03fb8edd8939ad740.zip cpython-7066dd75c5ee8385135541d03fb8edd8939ad740.tar.gz cpython-7066dd75c5ee8385135541d03fb8edd8939ad740.tar.bz2 |
* 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.
Diffstat (limited to 'Modules/stdwinmodule.c')
-rw-r--r-- | Modules/stdwinmodule.c | 14 |
1 files changed, 1 insertions, 13 deletions
diff --git a/Modules/stdwinmodule.c b/Modules/stdwinmodule.c index 8b3812b..a33366d 100644 --- a/Modules/stdwinmodule.c +++ b/Modules/stdwinmodule.c @@ -1311,18 +1311,6 @@ window_dealloc(wp) 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 @@ typeobject Windowtype = { 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*/ |