]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
Update outdated `LOAD_METHOD` comments in `Python/ceval.c` (GH-92641)
authorCrowthebird <78076854+thatbirdguythatuknownot@users.noreply.github.com>
Thu, 12 May 2022 12:37:55 +0000 (20:37 +0800)
committerGitHub <noreply@github.com>
Thu, 12 May 2022 12:37:55 +0000 (20:37 +0800)
Python/ceval.c

index b2735a1b2d3959c187c03abb0e1aac6041592ccf..f6b07b4b28eb6615f26f17960ef1f69ccfd2341d 100644 (file)
@@ -4537,7 +4537,7 @@ handle_eval_breaker:
 
         TARGET(LOAD_METHOD) {
             PREDICTED(LOAD_METHOD);
-            /* Designed to work in tandem with CALL_METHOD. */
+            /* Designed to work in tandem with PRECALL. */
             PyObject *name = GETITEM(names, oparg);
             PyObject *obj = TOP();
             PyObject *meth = NULL;
@@ -4562,7 +4562,7 @@ handle_eval_breaker:
                 /* meth is not an unbound method (but a regular attr, or
                    something was returned by a descriptor protocol).  Set
                    the second element of the stack to NULL, to signal
-                   CALL_METHOD that it's not a method call.
+                   PRECALL that it's not a method call.
 
                    NULL | meth | arg1 | ... | argN
                 */