summaryrefslogtreecommitdiffstats
path: root/Objects
diff options
context:
space:
mode:
authorMartin Panter <vadmium+py@gmail.com>2015-10-07 10:26:23 (GMT)
committerMartin Panter <vadmium+py@gmail.com>2015-10-07 10:26:23 (GMT)
commit9955a373a8ae5a3ac9108afc436199277fdedff7 (patch)
tree3610b83bda6f7b3731ee7790579874c0bde14ae0 /Objects
parent85b8f45515a08afd75ca38b3760defabd219a632 (diff)
downloadcpython-9955a373a8ae5a3ac9108afc436199277fdedff7.zip
cpython-9955a373a8ae5a3ac9108afc436199277fdedff7.tar.gz
cpython-9955a373a8ae5a3ac9108afc436199277fdedff7.tar.bz2
Various minor typos in documentation and comments
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