diff options
author | Guido van Rossum <guido@python.org> | 1996-08-20 19:54:29 (GMT) |
---|---|---|
committer | Guido van Rossum <guido@python.org> | 1996-08-20 19:54:29 (GMT) |
commit | 89227eb0f50af9c18eaf7d1edc8036d0dd5ccb62 (patch) | |
tree | ab681e4f8b1bf67f9437e7d5049d3ec9818fa6e1 /Objects | |
parent | 613b943bf9a10c9059699efba4b1d7b91c66da8b (diff) | |
download | cpython-89227eb0f50af9c18eaf7d1edc8036d0dd5ccb62.zip cpython-89227eb0f50af9c18eaf7d1edc8036d0dd5ccb62.tar.gz cpython-89227eb0f50af9c18eaf7d1edc8036d0dd5ccb62.tar.bz2 |
Write warning about exception in __del__ to stderr, not stdout.
Diffstat (limited to 'Objects')
-rw-r--r-- | Objects/classobject.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Objects/classobject.c b/Objects/classobject.c index 6eb453f..d7be15a 100644 --- a/Objects/classobject.c +++ b/Objects/classobject.c @@ -399,7 +399,7 @@ instance_dealloc(inst) DECREF(del); if (res == NULL) { writestring("exception in __del__ method ignored\n", - sysget("stdout")); + sysget("stderr")); } else DECREF(res); |