summaryrefslogtreecommitdiffstats
path: root/Python
diff options
context:
space:
mode:
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>2022-05-12 12:59:36 (GMT)
committerGitHub <noreply@github.com>2022-05-12 12:59:36 (GMT)
commit3d1ad42591263ac9dc827d47d52883dfc32416b6 (patch)
treeb5b2b31968f4574adb920afe0cb789f2d7ebf30b /Python
parent6e1a214426f968cd759ebd06e1a3f9d06ab32d7c (diff)
downloadcpython-3d1ad42591263ac9dc827d47d52883dfc32416b6.zip
cpython-3d1ad42591263ac9dc827d47d52883dfc32416b6.tar.gz
cpython-3d1ad42591263ac9dc827d47d52883dfc32416b6.tar.bz2
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>
Diffstat (limited to 'Python')
-rw-r--r--Python/ceval.c4
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
*/