0
0
mirror of https://github.com/python/cpython.git synced 2024-11-28 08:20:55 +01:00

The print operation now returns status!

This commit is contained in:
Guido van Rossum 1991-07-01 18:52:31 +00:00
parent 4dd2a7e45b
commit 2fe53f7fec

View 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 *