We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e3f1b09 commit c7cc985Copy full SHA for c7cc985
1 file changed
Doc/reference/expressions.rst
@@ -821,7 +821,7 @@ Suspend the execution of :term:`coroutine` on an :term:`awaitable` object.
821
Can only be used inside a :term:`coroutine function`.
822
823
.. productionlist::
824
- await: ["await"] `primary`
+ await_expr: "await" `primary`
825
826
.. versionadded:: 3.5
827
@@ -835,7 +835,7 @@ The power operator binds more tightly than unary operators on its left; it binds
835
less tightly than unary operators on its right. The syntax is:
836
837
838
- power: `await` ["**" `u_expr`]
+ power: ( `await_expr` | `primary` ) ["**" `u_expr`]
839
840
Thus, in an unparenthesized sequence of power and unary operators, the operators
841
are evaluated from right to left (this does not constrain the evaluation order
0 commit comments