2016-07-08 8 views
1

Terminal-Ausgang mehr als tausend Worte wert ist, ich denke,Python 3.4.3 asyncio Schlüsselwörter Syntax

[~] $ python 
Python 3.4.3 (default, Jun 22 2016, 16:03:29) 
[GCC 4.9.3] on linux 
Type "help", "copyright", "credits" or "license" for more information. 
>>> import asyncio 
>>> async def fun(): 
    File "<stdin>", line 1 
    async def fun(): 
      ^
SyntaxError: invalid syntax 

Antwort

1

Das async Schlüsselwort in Python 3.5 hinzugefügt.