mirror of
https://github.com/davidhalter/jedi.git
synced 2026-02-25 20:47:13 +08:00
Move the evaluate package to inference
This commit is contained in:
@@ -24,7 +24,7 @@ next(gen_ret(1))
|
||||
#? []
|
||||
next(gen_ret()).
|
||||
|
||||
# generators evaluate to true if cast by bool.
|
||||
# generators infer to true if cast by bool.
|
||||
a = ''
|
||||
if gen_ret():
|
||||
a = 3
|
||||
|
||||
Reference in New Issue
Block a user