aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/Python/opcode_metadata.h
diff options
context:
space:
mode:
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 c1a6ed4c18a..670290e2f3f 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: