mirror of
https://github.com/davidhalter/jedi.git
synced 2026-10-28 08:13:18 +08:00
When inferring comparison operators, return a definite type instead of NO_VALUES for the in/not in operator
This commit is contained in:
1 parent
82d1902f38
commit
4d09ac07e4
3 files changed
+12
-1
No files matched your search
@@ -424,3 +424,10 @@ with open("a"), open("b") as bfile:
|
||||
some_array = ['', '']
|
||||
#! ['def upper']
|
||||
some_array[some_not_defined_index].upper
|
||||
|
||||
# -----------------
|
||||
# operator
|
||||
# -----------------
|
||||
|
||||
#? bool()
|
||||
res = 'f' in 'foo'; res
|
||||
Reference in new issue
Block a user