From: Miss Islington (bot) <31488909+miss-islington@users.noreply.github.com> Date: Thu, 12 May 2022 12:59:36 +0000 (-0700) Subject: Update outdated `LOAD_METHOD` comments in `Python/ceval.c` (GH-92641) X-Git-Tag: v3.11.0b2~105 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=3d1ad42591263ac9dc827d47d52883dfc32416b6;p=thirdparty%2FPython%2Fcpython.git Update outdated `LOAD_METHOD` comments in `Python/ceval.c` (GH-92641) (cherry picked from commit bdf99691972c4e452a86eb3ca7ff7ae748d881a6) Co-authored-by: Crowthebird <78076854+thatbirdguythatuknownot@users.noreply.github.com> --- diff --git a/Python/ceval.c b/Python/ceval.c index b2735a1b2d39..f6b07b4b28eb 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 */