Skip to content

Commit 63b5fc5

Browse files
simeonkrmiss-islington
authored andcommitted
Fix typos in compile.c comments (GH-12752)
1 parent 0e10766 commit 63b5fc5

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Python/compile.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1216,7 +1216,7 @@ merge_consts_recursive(struct compiler *c, PyObject *o)
12161216
}
12171217

12181218
// We registered o in c_const_cache.
1219-
// When o is a tuple or frozenset, we want to merge it's
1219+
// When o is a tuple or frozenset, we want to merge its
12201220
// items too.
12211221
if (PyTuple_CheckExact(o)) {
12221222
Py_ssize_t len = PyTuple_GET_SIZE(o);
@@ -1246,7 +1246,7 @@ merge_consts_recursive(struct compiler *c, PyObject *o)
12461246
}
12471247
}
12481248
else if (PyFrozenSet_CheckExact(o)) {
1249-
// *key* is tuple. And it's first item is frozenset of
1249+
// *key* is tuple. And its first item is frozenset of
12501250
// constant keys.
12511251
// See _PyCode_ConstantKey() for detail.
12521252
assert(PyTuple_CheckExact(key));

0 commit comments

Comments
 (0)