[Python-bugs-list] [ python-Bugs-606464 ] tp_print return semantics

noreply@sourceforge.net noreply@sourceforge.net
Mon, 09 Sep 2002 22:28:34 -0700


Bugs item #606464, was opened at 2002-09-08 16:50
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=105470&aid=606464&group_id=5470

Category: Documentation
Group: None
Status: Open
Resolution: None
Priority: 5
Submitted By: David Abrahams (david_abrahams)
Assigned to: Fred L. Drake, Jr. (fdrake)
Summary: tp_print return semantics

Initial Comment:
There's no description of the meaning of the return value 
from the tp_print field.

----------------------------------------------------------------------

>Comment By: Raymond Hettinger (rhettinger)
Date: 2002-09-10 00:28

Message:
Logged In: YES 
user_id=80475

In section 6.1 of the C API manual:

"""
int PyObject_Print( PyObject *o, FILE *fp, int flags) 
Print an object o, on file fp. Returns -1 on error. 
"""

Is there another place it should be documented?

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=105470&aid=606464&group_id=5470