mirror of
https://github.com/python/cpython.git
synced 2025-08-03 08:34:29 +00:00
printobject now returns an error code
This commit is contained in:
parent
909336104b
commit
d783a46d73
4 changed files with 14 additions and 9 deletions
|
@ -1286,13 +1286,14 @@ window_dealloc(wp)
|
|||
free((char *)wp);
|
||||
}
|
||||
|
||||
static void
|
||||
static int
|
||||
window_print(wp, fp, flags)
|
||||
windowobject *wp;
|
||||
FILE *fp;
|
||||
int flags;
|
||||
{
|
||||
fprintf(fp, "<window titled '%s'>", getstringvalue(wp->w_title));
|
||||
return 0;
|
||||
}
|
||||
|
||||
static object *
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue