diff options
author | Nick Coghlan <ncoghlan@gmail.com> | 2014-02-09 00:43:21 (GMT) |
---|---|---|
committer | Nick Coghlan <ncoghlan@gmail.com> | 2014-02-09 00:43:21 (GMT) |
commit | d979e4335d02bee7301c2b2dec61fe2155fbae98 (patch) | |
tree | 03a43ccec3f7109d73c48f3782500be9c6579be5 /Objects/object.c | |
parent | c9d1a6b85eb9cb1ddd520cefc5f0c7a21a1b1e2c (diff) | |
download | cpython-d979e4335d02bee7301c2b2dec61fe2155fbae98.zip cpython-d979e4335d02bee7301c2b2dec61fe2155fbae98.tar.gz cpython-d979e4335d02bee7301c2b2dec61fe2155fbae98.tar.bz2 |
Close #20500: Don't trigger PyObject_Str assertion at shutdown
Diffstat (limited to 'Objects/object.c')
-rw-r--r-- | Objects/object.c | 2 |
1 files changed, 1 insertions, 1 deletions
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 @@ PyObject_Str(PyObject *v) #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 |