mirror of
https://github.com/davidhalter/jedi.git
synced 2026-01-09 21:42:20 +08:00
Support inferring not expr to bool (#2016)
* support inferring some not expr * format --------- Co-authored-by: wutingjia <wutingjia@bytedance.com>
This commit is contained in:
@@ -431,3 +431,6 @@ some_array[some_not_defined_index].upper
|
||||
|
||||
#? bool()
|
||||
res = 'f' in 'foo'; res
|
||||
|
||||
#? bool()
|
||||
res = not {}; res
|
||||
|
||||
Reference in New Issue
Block a user