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
1 changed files with 2 additions and 1 deletions

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 *