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:
parent
4dd2a7e45b
commit
2fe53f7fec
@ -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 *
|
||||
|
Loading…
Reference in New Issue
Block a user