summaryrefslogtreecommitdiffstats
path: root/Objects
diff options
context:
space:
mode:
Diffstat (limited to 'Objects')
-rw-r--r--Objects/object.c2
-rw-r--r--Objects/typeobject.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/Objects/object.c b/Objects/object.c
index a1a69fa..307e3ac 100644
--- a/Objects/object.c
+++ b/Objects/object.c
@@ -459,7 +459,7 @@ PyObject_Repr(PyObject *v)
#ifdef Py_DEBUG
/* PyObject_Repr() 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
diff --git a/Objects/typeobject.c b/Objects/typeobject.c
index cf4e4e5..09c895c 100644
--- a/Objects/typeobject.c
+++ b/Objects/typeobject.c
@@ -876,7 +876,7 @@ type_call(PyTypeObject *type, PyObject *args, PyObject *kwds)
#ifdef Py_DEBUG
/* type_call() 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