Skip to content

Commit

Permalink
Fix typos in compile.c comments (pythonGH-12752)
Browse files Browse the repository at this point in the history
  • Loading branch information
simeonkr authored and miss-islington committed Apr 9, 2019
1 parent 0e10766 commit 63b5fc5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Python/compile.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down Expand Up @@ -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));
Expand Down

0 comments on commit 63b5fc5

Please sign in to comment.