]> granicus.if.org Git - python/commitdiff
docs: Fix inspect docs re gi_yieldfrom
authorYury Selivanov <yselivanov@sprymix.com>
Mon, 17 Aug 2015 17:02:42 +0000 (13:02 -0400)
committerYury Selivanov <yselivanov@sprymix.com>
Mon, 17 Aug 2015 17:02:42 +0000 (13:02 -0400)
Doc/library/inspect.rst

index 3b62e7f5b975bfeb9e6ef95d29a342e538906b70..3ffc1152bed85bb6c34e59e32306367d6fa2b0c0 100644 (file)
@@ -178,6 +178,10 @@ attributes:
 +-----------+-----------------+---------------------------+
 |           | gi_code         | code                      |
 +-----------+-----------------+---------------------------+
+|           | gi_yieldfrom    | object being iterated by  |
+|           |                 | ``yield from``, or        |
+|           |                 | ``None``                  |
++-----------+-----------------+---------------------------+
 | coroutine | __name__        | name                      |
 +-----------+-----------------+---------------------------+
 |           | __qualname__    | qualified name            |
@@ -191,10 +195,6 @@ attributes:
 +-----------+-----------------+---------------------------+
 |           | cr_code         | code                      |
 +-----------+-----------------+---------------------------+
-|           | gi_yieldfrom    | object being iterated by  |
-|           |                 | ``yield from``, or        |
-|           |                 | ``None``                  |
-+-----------+-----------------+---------------------------+
 | builtin   | __doc__         | documentation string      |
 +-----------+-----------------+---------------------------+
 |           | __name__        | original name of this     |