@@ -1633,12 +1633,12 @@ and are also passed to registered trace functions.
1633
1633
1634
1634
.. index ::
1635
1635
single: f_back (frame attribute)
1636
- single: f_generator (frame attribute)
1637
1636
single: f_code (frame attribute)
1638
1637
single: f_globals (frame attribute)
1639
1638
single: f_locals (frame attribute)
1640
1639
single: f_lasti (frame attribute)
1641
1640
single: f_builtins (frame attribute)
1641
+ single: f_generator (frame attribute)
1642
1642
1643
1643
Special read-only attributes
1644
1644
~~~~~~~~~~~~~~~~~~~~~~~~~~~~
@@ -1649,10 +1649,6 @@ Special read-only attributes
1649
1649
- Points to the previous stack frame (towards the caller),
1650
1650
or ``None `` if this is the bottom stack frame
1651
1651
1652
- * - .. attribute:: frame.f_generator
1653
- - Returns the generator or coroutine object that owns this frame,
1654
- or ``None `` if the frame is of a regular function.
1655
-
1656
1652
* - .. attribute:: frame.f_code
1657
1653
- The :ref: `code object <code-objects >` being executed in this frame.
1658
1654
Accessing this attribute raises an :ref: `auditing event <auditing >`
@@ -1679,6 +1675,10 @@ Special read-only attributes
1679
1675
- The "precise instruction" of the frame object
1680
1676
(this is an index into the :term: `bytecode ` string of the
1681
1677
:ref: `code object <code-objects >`)
1678
+
1679
+ * - .. attribute:: frame.f_generator
1680
+ - Returns the generator or coroutine object that owns this frame,
1681
+ or ``None `` if the frame is of a regular function.
1682
1682
1683
1683
.. index ::
1684
1684
single: f_trace (frame attribute)
0 commit comments