paultag likes iter(exprs) better than exprs.__iter__()
We do what the BDFL says lest he shoot us with magic wizard sticks.
This commit is contained in:
parent
6ec89af988
commit
12270ecaa3
@ -444,7 +444,7 @@ class HyASTCompiler(object):
|
|||||||
ret = Result()
|
ret = Result()
|
||||||
keywords = []
|
keywords = []
|
||||||
|
|
||||||
exprs_iter = exprs.__iter__()
|
exprs_iter = iter(exprs)
|
||||||
for expr in exprs_iter:
|
for expr in exprs_iter:
|
||||||
if with_kwargs and isinstance(expr, HyKeyword):
|
if with_kwargs and isinstance(expr, HyKeyword):
|
||||||
try:
|
try:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user