From bdf99691972c4e452a86eb3ca7ff7ae748d881a6 Mon Sep 17 00:00:00 2001 From: Crowthebird <78076854+thatbirdguythatuknownot@users.noreply.github.com> Date: Thu, 12 May 2022 20:37:55 +0800 Subject: Update outdated `LOAD_METHOD` comments in `Python/ceval.c` (GH-92641) --- Python/ceval.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Python/ceval.c b/Python/ceval.c index b2735a1..f6b07b4 100644 --- a/Python/ceval.c +++ b/Python/ceval.c @@ -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 */ -- cgit v0.12