summaryrefslogtreecommitdiffstats
path: root/Objects
diff options
context:
space:
mode:
authorMartin Panter <vadmium+py@gmail.com>2015-10-07 11:13:55 (GMT)
committerMartin Panter <vadmium+py@gmail.com>2015-10-07 11:13:55 (GMT)
commit585a6acfef1a03955bc2561aab7b2acfbb6bb2d4 (patch)
treecd3684ef639760f403da82b1448786ebd9c8379d /Objects
parent6568714366e8c7c7222681a5ddcc13c57b7495a2 (diff)
parentec1aa5c2a1d0848351dd9d7d2758c553f18e56b2 (diff)
downloadcpython-585a6acfef1a03955bc2561aab7b2acfbb6bb2d4.zip
cpython-585a6acfef1a03955bc2561aab7b2acfbb6bb2d4.tar.gz
cpython-585a6acfef1a03955bc2561aab7b2acfbb6bb2d4.tar.bz2
Merge typo fixes from 3.5
Diffstat (limited to 'Objects')
-rw-r--r--Objects/methodobject.c2
-rw-r--r--Objects/object.c2
-rw-r--r--Objects/typeobject.c2
3 files changed, 3 insertions, 3 deletions
diff --git a/Objects/methodobject.c b/Objects/methodobject.c
index 1817722..946357f 100644
--- a/Objects/methodobject.c
+++ b/Objects/methodobject.c
@@ -89,7 +89,7 @@ PyCFunction_Call(PyObject *func, PyObject *args, PyObject *kwds)
/* PyCFunction_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());
flags = PyCFunction_GET_FLAGS(func) & ~(METH_CLASS | METH_STATIC | METH_COEXIST);
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 72fa3d3..4b091f5 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