From 2fe53f7fec8e2c2a83e1d587633f2765fb829436 Mon Sep 17 00:00:00 2001 From: Guido van Rossum Date: Mon, 1 Jul 1991 18:52:31 +0000 Subject: The print operation now returns status! --- Objects/typeobject.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Objects/typeobject.c b/Objects/typeobject.c index be96de4..0b01bf5 100644 --- a/Objects/typeobject.c +++ b/Objects/typeobject.c @@ -28,13 +28,14 @@ OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. /* Type object implementation */ -static void +static int type_print(v, fp, flags) typeobject *v; FILE *fp; int flags; { fprintf(fp, "", v->tp_name); + return 0; } static object * -- cgit v0.12