From a09fa75d7dcd046c3520549414759fbff00f9c36 Mon Sep 17 00:00:00 2001 From: Yury Selivanov Date: Wed, 29 Apr 2015 12:28:16 -0400 Subject: [PATCH] pep-0492: Add another syntax example --- pep-0492.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/pep-0492.txt b/pep-0492.txt index b175d9a64..ce8c3d388 100644 --- a/pep-0492.txt +++ b/pep-0492.txt @@ -185,6 +185,7 @@ Expression Will be parsed as ``res = await coro() ** 2`` ``res = (await coro()) ** 2`` ``func(a1=await coro(), a2=0)`` ``func(a1=(await coro()), a2=0)`` ``await foo() + await bar()`` ``(await foo()) + (await bar())`` +``-await foo()`` ``-(await foo())`` ================================== ================================== Invalid syntax examples: