commit | d979e4335d02bee7301c2b2dec61fe2155fbae98 | [log] [tgz] |
---|---|---|
author | Nick Coghlan <ncoghlan@gmail.com> | Sun Feb 09 10:43:21 2014 +1000 |
committer | Nick Coghlan <ncoghlan@gmail.com> | Sun Feb 09 10:43:21 2014 +1000 |
tree | 03a43ccec3f7109d73c48f3782500be9c6579be5 | |
parent | c9d1a6b85eb9cb1ddd520cefc5f0c7a21a1b1e2c [diff] [blame] |
Close #20500: Don't trigger PyObject_Str assertion at shutdown
diff --git a/Objects/object.c b/Objects/object.c index 62bdb49..c634e70 100644 --- a/Objects/object.c +++ b/Objects/object.c
@@ -508,7 +508,7 @@ #ifdef Py_DEBUG /* PyObject_Str() must not be called with an exception set, because it may clear it (directly or indirectly) and so the - caller looses its exception */ + caller loses its exception */ assert(!PyErr_Occurred()); #endif