* 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.
This commit is contained in:
Guido van Rossum 1992-09-17 17:54:56 +00:00
parent c2670a000b
commit 7066dd75c5
11 changed files with 126 additions and 142 deletions

View file

@ -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*/