summaryrefslogtreecommitdiffstats
path: root/Python/compile.c
diff options
context:
space:
mode:
authorSimeon <simeonkr@users.noreply.github.com>2019-04-09 23:36:57 (GMT)
committerMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>2019-04-09 23:36:57 (GMT)
commit63b5fc5f42c95a9ef25f9ef9f69ef218763d28bd (patch)
tree548234d5c24c31f0a377a08a83346c5efc397bc8 /Python/compile.c
parent0e10766574f4e287cd6b5e5860a1ca75488f4119 (diff)
downloadcpython-63b5fc5f42c95a9ef25f9ef9f69ef218763d28bd.zip
cpython-63b5fc5f42c95a9ef25f9ef9f69ef218763d28bd.tar.gz
cpython-63b5fc5f42c95a9ef25f9ef9f69ef218763d28bd.tar.bz2
Fix typos in compile.c comments (GH-12752)
Diffstat (limited to 'Python/compile.c')
-rw-r--r--Python/compile.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/Python/compile.c b/Python/compile.c
index a992e4b..ecf7d35 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));