Skip to content

Commit 1e82c2d

Browse files
committed
BF(PY3): use next() instead of .next() (PY3 only)
1 parent 63b9759 commit 1e82c2d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

chain.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ def delegate(self, requests):
5757
def coroutine(func):
5858
def start(*args, **kwargs):
5959
cr = func(*args, **kwargs)
60-
cr.next()
60+
next(cr)
6161
return cr
6262
return start
6363

0 commit comments

Comments
 (0)