pep-492: Fix example code

This commit is contained in:
Yury Selivanov 2015-08-18 10:21:19 -04:00
parent 86e9b6efcc
commit eaf9ea6841
1 changed files with 1 additions and 1 deletions

View File

@ -507,7 +507,7 @@ The following code illustrates new asynchronous iteration protocol::
def __init__(self):
self.buffer = collections.deque()
def _prefetch(self):
async def _prefetch(self):
...
async def __aiter__(self):