diff options
author | Guido van Rossum <guido@python.org> | 1991-06-07 16:10:43 (GMT) |
---|---|---|
committer | Guido van Rossum <guido@python.org> | 1991-06-07 16:10:43 (GMT) |
commit | 909336104b70cae29c0c4fde4477d508e1d709ac (patch) | |
tree | 565a1a5a3aea78eeca3216ab2d95bc74b73286a1 /Objects/intobject.c | |
parent | dd0108081b1a4b44d712477308b9764139ebc6a2 (diff) | |
download | cpython-909336104b70cae29c0c4fde4477d508e1d709ac.zip cpython-909336104b70cae29c0c4fde4477d508e1d709ac.tar.gz cpython-909336104b70cae29c0c4fde4477d508e1d709ac.tar.bz2 |
printobject now returns an error code
Diffstat (limited to 'Objects/intobject.c')
-rw-r--r-- | Objects/intobject.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/Objects/intobject.c b/Objects/intobject.c index 6e48a27..91c43b9 100644 --- a/Objects/intobject.c +++ b/Objects/intobject.c @@ -120,13 +120,14 @@ getintvalue(op) /* Methods */ -static void +static int int_print(v, fp, flags) intobject *v; FILE *fp; int flags; { fprintf(fp, "%ld", v->ob_ival); + return 0; } static object * |