summaryrefslogtreecommitdiffstats
path: root/Python/opcode_metadata.h
diff options
context:
space:
mode:
authorCarl Meyer <carl@oddbird.net>2023-05-11 11:52:06 (GMT)
committerGitHub <noreply@github.com>2023-05-11 11:52:06 (GMT)
commit167072938342981b96d06d739cd97185207b64dd (patch)
tree7dd89a275fa623df8a32fcfc491dc8ef3a2c5c71 /Python/opcode_metadata.h
parente629ab6adf19544d5ee3f87bd1a9e9ff90808a08 (diff)
downloadcpython-167072938342981b96d06d739cd97185207b64dd.zip
cpython-167072938342981b96d06d739cd97185207b64dd.tar.gz
cpython-167072938342981b96d06d739cd97185207b64dd.tar.bz2
gh-87849: fix SEND specialization family definition (GH-104268)
Diffstat (limited to 'Python/opcode_metadata.h')
-rw-r--r--Python/opcode_metadata.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/Python/opcode_metadata.h b/Python/opcode_metadata.h
index c1a6ed4..670290e 100644
--- a/Python/opcode_metadata.h
+++ b/Python/opcode_metadata.h
@@ -512,7 +512,7 @@ _PyOpcode_num_pushed(int opcode, int oparg, bool jump) {
case SEND:
return 2;
case SEND_GEN:
- return 1;
+ return 2;
case INSTRUMENTED_YIELD_VALUE:
return 1;
case YIELD_VALUE: