summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSimeon <simeonkr@users.noreply.github.com>2019-04-09 19:36:57 -0400
committerMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>2019-04-09 16:36:57 -0700
commit63b5fc5f42c95a9ef25f9ef9f69ef218763d28bd (patch)
tree548234d5c24c31f0a377a08a83346c5efc397bc8
parent0e10766574f4e287cd6b5e5860a1ca75488f4119 (diff)
downloadcpython-git-63b5fc5f42c95a9ef25f9ef9f69ef218763d28bd.tar.gz
Fix typos in compile.c comments (GH-12752)
-rw-r--r--Python/compile.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/Python/compile.c b/Python/compile.c
index a992e4b465..ecf7d357c8 100644
--- a/Python/compile.c
+++ b/Python/compile.c
@@ -1216,7 +1216,7 @@ merge_consts_recursive(struct compiler *c, PyObject *o)
}
// We registered o in c_const_cache.
- // When o is a tuple or frozenset, we want to merge it's
+ // When o is a tuple or frozenset, we want to merge its
// items too.
if (PyTuple_CheckExact(o)) {
Py_ssize_t len = PyTuple_GET_SIZE(o);
@@ -1246,7 +1246,7 @@ merge_consts_recursive(struct compiler *c, PyObject *o)
}
}
else if (PyFrozenSet_CheckExact(o)) {
- // *key* is tuple. And it's first item is frozenset of
+ // *key* is tuple. And its first item is frozenset of
// constant keys.
// See _PyCode_ConstantKey() for detail.
assert(PyTuple_CheckExact(key));