summaryrefslogtreecommitdiffstats
path: root/Objects
diff options
context:
space:
mode:
authorNick Coghlan <ncoghlan@gmail.com>2014-02-09 00:43:21 (GMT)
committerNick Coghlan <ncoghlan@gmail.com>2014-02-09 00:43:21 (GMT)
commitd979e4335d02bee7301c2b2dec61fe2155fbae98 (patch)
tree03a43ccec3f7109d73c48f3782500be9c6579be5 /Objects
parentc9d1a6b85eb9cb1ddd520cefc5f0c7a21a1b1e2c (diff)
downloadcpython-d979e4335d02bee7301c2b2dec61fe2155fbae98.zip
cpython-d979e4335d02bee7301c2b2dec61fe2155fbae98.tar.gz
cpython-d979e4335d02bee7301c2b2dec61fe2155fbae98.tar.bz2
Close #20500: Don't trigger PyObject_Str assertion at shutdown
Diffstat (limited to 'Objects')
-rw-r--r--Objects/object.c2
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