summaryrefslogtreecommitdiffstats
path: root/Objects/floatobject.c
diff options
context:
space:
mode:
authorGuido van Rossum <guido@python.org>1991-06-07 16:10:43 (GMT)
committerGuido van Rossum <guido@python.org>1991-06-07 16:10:43 (GMT)
commit909336104b70cae29c0c4fde4477d508e1d709ac (patch)
tree565a1a5a3aea78eeca3216ab2d95bc74b73286a1 /Objects/floatobject.c
parentdd0108081b1a4b44d712477308b9764139ebc6a2 (diff)
downloadcpython-909336104b70cae29c0c4fde4477d508e1d709ac.zip
cpython-909336104b70cae29c0c4fde4477d508e1d709ac.tar.gz
cpython-909336104b70cae29c0c4fde4477d508e1d709ac.tar.bz2
printobject now returns an error code
Diffstat (limited to 'Objects/floatobject.c')
-rw-r--r--Objects/floatobject.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/Objects/floatobject.c b/Objects/floatobject.c
index cd7d084..a386e0c 100644
--- a/Objects/floatobject.c
+++ b/Objects/floatobject.c
@@ -98,7 +98,7 @@ float_buf_repr(buf, v)
}
}
-static void
+static int
float_print(v, fp, flags)
floatobject *v;
FILE *fp;
@@ -107,6 +107,7 @@ float_print(v, fp, flags)
char buf[100];
float_buf_repr(buf, v);
fputs(buf, fp);
+ return 0;
}
static object *