summaryrefslogtreecommitdiffstats
path: root/Objects
diff options
context:
space:
mode:
authorMartin Panter <vadmium+py@gmail.com>2015-10-07 11:01:47 (GMT)
committerMartin Panter <vadmium+py@gmail.com>2015-10-07 11:01:47 (GMT)
commit3f930dcd8725078c1655f09ca9bea0889e999fd6 (patch)
tree3b4079f251261009de434a8a42904a1438b50b94 /Objects
parent397625e43280c1dec19af59c53704e0d95b557d5 (diff)
parent9955a373a8ae5a3ac9108afc436199277fdedff7 (diff)
downloadcpython-3f930dcd8725078c1655f09ca9bea0889e999fd6.zip
cpython-3f930dcd8725078c1655f09ca9bea0889e999fd6.tar.gz
cpython-3f930dcd8725078c1655f09ca9bea0889e999fd6.tar.bz2
Merge typo fixes from 3.4 into 3.5
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 11b7bff..6fc4df1 100644
--- a/Objects/object.c
+++ b/Objects/object.c
@@ -475,7 +475,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 06ce899..782c51b 100644
--- a/Objects/typeobject.c
+++ b/Objects/typeobject.c
@@ -901,7 +901,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