File tree 1 file changed +7
-4
lines changed 1 file changed +7
-4
lines changed Original file line number Diff line number Diff line change @@ -716,7 +716,7 @@ iterations of the loop.
716
716
* ``0 ``: :exc: `AssertionError `
717
717
* ``1 ``: :exc: `StopIteration `
718
718
719
- .. versionadded :: 3.11
719
+ .. versionadded :: 3.12
720
720
721
721
722
722
.. opcode :: LOAD_BUILD_CLASS
@@ -1346,10 +1346,13 @@ iterations of the loop.
1346
1346
.. versionadded :: 3.11
1347
1347
1348
1348
1349
- .. opcode :: SEND
1349
+ .. opcode :: SEND (delta)
1350
+
1351
+ Equivalent to ``TOS = TOS1.send(TOS) ``. Used in ``yield from `` and ``await ``
1352
+ statements.
1350
1353
1351
- Sends `` None `` to the sub-generator of this generator.
1352
- Used in `` yield from `` and `` await `` statements .
1354
+ If the call raises :exc: ` StopIteration `, pop both values, push its return
1355
+ value, and increment the bytecode counter by * delta * .
1353
1356
1354
1357
.. versionadded :: 3.11
1355
1358
You can’t perform that action at this time.
0 commit comments