diff options
author | Guido van Rossum <guido@python.org> | 1991-06-07 22:35:42 (GMT) |
---|---|---|
committer | Guido van Rossum <guido@python.org> | 1991-06-07 22:35:42 (GMT) |
commit | d783a46d73d92e9a79ef123dc6b422568e1aad69 (patch) | |
tree | 618f954c179d3b0dd21bbbd6527ecb5da0b5aea7 /Modules | |
parent | 909336104b70cae29c0c4fde4477d508e1d709ac (diff) | |
download | cpython-d783a46d73d92e9a79ef123dc6b422568e1aad69.zip cpython-d783a46d73d92e9a79ef123dc6b422568e1aad69.tar.gz cpython-d783a46d73d92e9a79ef123dc6b422568e1aad69.tar.bz2 |
printobject now returns an error code
Diffstat (limited to 'Modules')
-rw-r--r-- | Modules/stdwinmodule.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/Modules/stdwinmodule.c b/Modules/stdwinmodule.c index 494b15e..9b436af 100644 --- a/Modules/stdwinmodule.c +++ b/Modules/stdwinmodule.c @@ -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 * |