* 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

@ -581,21 +581,6 @@ long_dealloc(v)
DEL(v);
}
/* ARGSUSED */
static int
long_print(v, fp, flags)
object *v;
FILE *fp;
int flags; /* Not used but required by interface */
{
stringobject *str = (stringobject *) long_format(v, 10);
if (str == NULL)
return -1;
fprintf(fp, "%s", GETSTRINGVALUE(str));
DECREF(str);
return 0;
}
static object *
long_repr(v)
object *v;
@ -1347,7 +1332,7 @@ typeobject Longtype = {
sizeof(longobject) - sizeof(digit),
sizeof(digit),
long_dealloc, /*tp_dealloc*/
long_print, /*tp_print*/
0, /*tp_print*/
0, /*tp_getattr*/
0, /*tp_setattr*/
(int (*) FPROTO((object *, object *)))