Spelling and grammar fixes in code comments and documentation
diff --git a/Objects/stringobject.c b/Objects/stringobject.c
index 342b2db..4e5d917 100644
--- a/Objects/stringobject.c
+++ b/Objects/stringobject.c
@@ -901,7 +901,7 @@
fputc(quote, fp);
for (i = 0; i < str_len; i++) {
/* Since strings are immutable and the caller should have a
- reference, accessing the interal buffer should not be an issue
+ reference, accessing the internal buffer should not be an issue
with the GIL released. */
c = op->ob_sval[i];
if (c == quote || c == '\\')
diff --git a/Objects/typeobject.c b/Objects/typeobject.c
index 438c70b..ee0921a 100644
--- a/Objects/typeobject.c
+++ b/Objects/typeobject.c
@@ -1379,7 +1379,7 @@
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.