]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
The print operation now returns status!
authorGuido van Rossum <guido@python.org>
Mon, 1 Jul 1991 18:52:31 +0000 (18:52 +0000)
committerGuido van Rossum <guido@python.org>
Mon, 1 Jul 1991 18:52:31 +0000 (18:52 +0000)
Objects/typeobject.c

index be96de44ab69066d4a2e2eeba46b20159f0b4b9c..0b01bf5677c313e79aaa23ddae08b80d18ed9e84 100644 (file)
@@ -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, "<type '%s'>", v->tp_name);
+       return 0;
 }
 
 static object *