summaryrefslogtreecommitdiffstats
path: root/Objects
diff options
context:
space:
mode:
authorMartin Panter <vadmium+py@gmail.com>2016-08-04 13:07:31 (GMT)
committerMartin Panter <vadmium+py@gmail.com>2016-08-04 13:07:31 (GMT)
commit69332c1a64d6bdb80ff813fab403be832e12ce64 (patch)
treec61ce7d7f833c11b0e665d780d06107f39228342 /Objects
parent72e483aac42a1e1bd2e2b1ed72a3c9e8dbc6be96 (diff)
downloadcpython-69332c1a64d6bdb80ff813fab403be832e12ce64.zip
cpython-69332c1a64d6bdb80ff813fab403be832e12ce64.tar.gz
cpython-69332c1a64d6bdb80ff813fab403be832e12ce64.tar.bz2
Fix spelling and grammar in documentation and code comments
Diffstat (limited to 'Objects')
-rw-r--r--Objects/odictobject.c2
-rw-r--r--Objects/typeobject.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/Objects/odictobject.c b/Objects/odictobject.c
index 1abdd02..a6963d7 100644
--- a/Objects/odictobject.c
+++ b/Objects/odictobject.c
@@ -194,7 +194,7 @@ the concrete API.
Here are some ways to address this challenge:
1. Change the relevant usage of the concrete API in CPython and add
- PyDict_CheckExact() calls to each of the concrete API funcions.
+ PyDict_CheckExact() calls to each of the concrete API functions.
2. Adjust the relevant concrete API functions to explicitly accommodate
OrderedDict.
3. As with #1, add the checks, but improve the abstract API with smart fast
diff --git a/Objects/typeobject.c b/Objects/typeobject.c
index 8c5c77e..9f57a7e 100644
--- a/Objects/typeobject.c
+++ b/Objects/typeobject.c
@@ -1494,7 +1494,7 @@ call_maybe(PyObject *o, _Py_Identifier *nameid, char *format, ...)
The next three properties are the 3 constraints in "C3".
- Local precendece order.
+ Local precedence order.
If A precedes B in C's MRO, then A will precede B in the MRO of all
subclasses of C.