summaryrefslogtreecommitdiff
path: root/Lib/test/badsyntax_async2.py
diff options
context:
space:
mode:
Diffstat (limited to 'Lib/test/badsyntax_async2.py')
-rw-r--r--Lib/test/badsyntax_async2.py5
1 files changed, 2 insertions, 3 deletions
diff --git a/Lib/test/badsyntax_async2.py b/Lib/test/badsyntax_async2.py
index 1e62a3e50a..6f6f4f5dd0 100644
--- a/Lib/test/badsyntax_async2.py
+++ b/Lib/test/badsyntax_async2.py
@@ -1,3 +1,2 @@
-async def foo():
- def foo(a:await something()):
- pass
+async def foo(a:await something()):
+ pass