Skip to content

Commit bdf9969

Browse files
Update outdated LOAD_METHOD comments in Python/ceval.c (pythonGH-92641)
1 parent f9c9354 commit bdf9969

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Python/ceval.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4537,7 +4537,7 @@ _PyEval_EvalFrameDefault(PyThreadState *tstate, _PyInterpreterFrame *frame, int
45374537

45384538
TARGET(LOAD_METHOD) {
45394539
PREDICTED(LOAD_METHOD);
4540-
/* Designed to work in tandem with CALL_METHOD. */
4540+
/* Designed to work in tandem with PRECALL. */
45414541
PyObject *name = GETITEM(names, oparg);
45424542
PyObject *obj = TOP();
45434543
PyObject *meth = NULL;
@@ -4562,7 +4562,7 @@ _PyEval_EvalFrameDefault(PyThreadState *tstate, _PyInterpreterFrame *frame, int
45624562
/* meth is not an unbound method (but a regular attr, or
45634563
something was returned by a descriptor protocol). Set
45644564
the second element of the stack to NULL, to signal
4565-
CALL_METHOD that it's not a method call.
4565+
PRECALL that it's not a method call.
45664566
45674567
NULL | meth | arg1 | ... | argN
45684568
*/

0 commit comments

Comments
 (0)