[Python-checkins] Fix typos in compile.c comments (GH-12752)

Miss Islington (bot) webhook-mailer at python.org
Tue Apr 9 19:37:03 EDT 2019


https://github.com/python/cpython/commit/63b5fc5f42c95a9ef25f9ef9f69ef218763d28bd
commit: 63b5fc5f42c95a9ef25f9ef9f69ef218763d28bd
branch: master
author: Simeon <simeonkr at users.noreply.github.com>
committer: Miss Islington (bot) <31488909+miss-islington at users.noreply.github.com>
date: 2019-04-09T16:36:57-07:00
summary:

Fix typos in compile.c comments (GH-12752)

files:
M Python/compile.c

diff --git a/Python/compile.c b/Python/compile.c
index a992e4b4653c..ecf7d357c856 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));



More information about the Python-checkins mailing list