summaryrefslogtreecommitdiffstats
path: root/Python/bytecodes.c
diff options
context:
space:
mode:
authorGuido van Rossum <guido@python.org>2023-01-05 21:01:07 (GMT)
committerGitHub <noreply@github.com>2023-01-05 21:01:07 (GMT)
commit14b7f00fdf9890739b43a3e198e4ce93f54c0552 (patch)
tree45a856294fd582066fd2a38ab33c29457a79f9e4 /Python/bytecodes.c
parent28187141cc34063ef857976ddbca87ba09a882c2 (diff)
downloadcpython-14b7f00fdf9890739b43a3e198e4ce93f54c0552.zip
cpython-14b7f00fdf9890739b43a3e198e4ce93f54c0552.tar.gz
cpython-14b7f00fdf9890739b43a3e198e4ce93f54c0552.tar.bz2
GH-98831: Update generate_cases.py: register inst, opcode_metadata.h (#100735)
(These aren't used yet, but may be coming soon, and it's easier to keep this tool the same between branches.) Added a sanity check for all this to compile.c. Co-authored-by: Irit Katriel <iritkatriel@yahoo.com>
Diffstat (limited to 'Python/bytecodes.c')
-rw-r--r--Python/bytecodes.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Python/bytecodes.c b/Python/bytecodes.c
index 9283f59..04ba33e 100644
--- a/Python/bytecodes.c
+++ b/Python/bytecodes.c
@@ -764,7 +764,7 @@ dummy_func(
ERROR_IF(w == NULL, error);
}
- inst(YIELD_VALUE, (retval --)) {
+ inst(YIELD_VALUE, (retval -- unused)) {
// NOTE: It's important that YIELD_VALUE never raises an exception!
// The compiler treats any exception raised here as a failed close()
// or throw() call.