[Python-checkins] peps: pep-492: Fix example code

yury.selivanov python-checkins at python.org
Tue Aug 18 16:21:54 CEST 2015


https://hg.python.org/peps/rev/e72bd4d00471
changeset: 5957:e72bd4d00471
user: Yury Selivanov <yselivanov at sprymix.com>
date: Tue Aug 18 10:21:19 2015 -0400
summary:
 pep-492: Fix example code
files:
 pep-0492.txt | 2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/pep-0492.txt b/pep-0492.txt
--- a/pep-0492.txt
+++ b/pep-0492.txt
@@ -507,7 +507,7 @@
 def __init__(self):
 self.buffer = collections.deque()
 
- def _prefetch(self):
+ async def _prefetch(self):
 ...
 
 async def __aiter__(self):
-- 
Repository URL: https://hg.python.org/peps


More information about the Python-checkins mailing list

AltStyle によって変換されたページ (->オリジナル) /