mirror of
https://github.com/davidhalter/jedi.git
synced 2026-10-04 12:43:46 +08:00
simple generator static analysis subscript check
This commit is contained in:
1 parent
b6ec589997
commit
64af9524b7
3 files changed
+12
-1
No files matched your search
@@ -0,0 +1,8 @@
|
||||
def generator():
|
||||
yield 1
|
||||
|
||||
#! type-error-generator
|
||||
generator()[0]
|
||||
|
||||
list(generator())[0]
|
||||
|
||||
Reference in new issue
Block a user