diff options
author | Crowthebird <78076854+thatbirdguythatuknownot@users.noreply.github.com> | 2022-05-12 12:37:55 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-05-12 12:37:55 (GMT) |
commit | bdf99691972c4e452a86eb3ca7ff7ae748d881a6 (patch) | |
tree | de7b537e0f230d1ab0b2132b848baea26dcb575d | |
parent | f9c9354a7a173eaca2aa19e667b5cf12167b7fed (diff) | |
download | cpython-bdf99691972c4e452a86eb3ca7ff7ae748d881a6.zip cpython-bdf99691972c4e452a86eb3ca7ff7ae748d881a6.tar.gz cpython-bdf99691972c4e452a86eb3ca7ff7ae748d881a6.tar.bz2 |
Update outdated `LOAD_METHOD` comments in `Python/ceval.c` (GH-92641)
-rw-r--r-- | Python/ceval.c | 4 |
1 files 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 */ |