@@ -828,23 +828,22 @@ Waiting Primitives
828828 *return_when * indicates when this function should return. It must
829829 be one of the following constants:
830830
831- .. tabularcolumns :: |l|L|
832-
833- +-----------------------------+----------------------------------------+
834- | Constant | Description |
835- +=============================+========================================+
836- | :const: `FIRST_COMPLETED ` | The function will return when any |
837- | | future finishes or is cancelled. |
838- +-----------------------------+----------------------------------------+
839- | :const: `FIRST_EXCEPTION ` | The function will return when any |
840- | | future finishes by raising an |
841- | | exception. If no future raises an |
842- | | exception then it is equivalent to |
843- | | :const: `ALL_COMPLETED `. |
844- +-----------------------------+----------------------------------------+
845- | :const: `ALL_COMPLETED ` | The function will return when all |
846- | | futures finish or are cancelled. |
847- +-----------------------------+----------------------------------------+
831+ .. list-table ::
832+ :header-rows: 1
833+
834+ * - Constant
835+ - Description
836+
837+ * - .. data:: FIRST_COMPLETED
838+ - The function will return when any future finishes or is cancelled.
839+
840+ * - .. data:: FIRST_EXCEPTION
841+ - The function will return when any future finishes by raising an
842+ exception. If no future raises an exception
843+ then it is equivalent to :const: `ALL_COMPLETED `.
844+
845+ * - .. data:: ALL_COMPLETED
846+ - The function will return when all futures finish or are cancelled.
848847
849848 Unlike :func: `~asyncio.wait_for `, ``wait() `` does not cancel the
850849 futures when a timeout occurs.
0 commit comments