From: Guido van Rossum Date: Mon, 1 Jul 1991 18:52:31 +0000 (+0000) Subject: The print operation now returns status! X-Git-Tag: v0.9.8~873 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=2fe53f7fec8e2c2a83e1d587633f2765fb829436;p=thirdparty%2FPython%2Fcpython.git The print operation now returns status! --- diff --git a/Objects/typeobject.c b/Objects/typeobject.c index be96de44ab69..0b01bf5677c3 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 *