summaryrefslogtreecommitdiffstats
path: root/Objects
diff options
context:
space:
mode:
authorMartin Panter <vadmium+py@gmail.com>2015-10-07 11:03:53 (GMT)
committerMartin Panter <vadmium+py@gmail.com>2015-10-07 11:03:53 (GMT)
commitec1aa5c2a1d0848351dd9d7d2758c553f18e56b2 (patch)
tree3aecf6de51f63d93b5831d00413e4a1b0600fdd6 /Objects
parent3f930dcd8725078c1655f09ca9bea0889e999fd6 (diff)
downloadcpython-ec1aa5c2a1d0848351dd9d7d2758c553f18e56b2.zip
cpython-ec1aa5c2a1d0848351dd9d7d2758c553f18e56b2.tar.gz
cpython-ec1aa5c2a1d0848351dd9d7d2758c553f18e56b2.tar.bz2
More typos in 3.5 documentation and comments
Diffstat (limited to 'Objects')
-rw-r--r--Objects/abstract.c2
-rw-r--r--Objects/methodobject.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/Objects/abstract.c b/Objects/abstract.c
index 31cc0a8..039a4ca 100644
--- a/Objects/abstract.c
+++ b/Objects/abstract.c
@@ -2131,7 +2131,7 @@ PyObject_Call(PyObject *func, PyObject *arg, PyObject *kw)
/* PyObject_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());
call = func->ob_type->tp_call;
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);