mirror of
https://github.com/davidhalter/jedi.git
synced 2025-12-23 05:41:27 +08:00
simple generator static analysis subscript check
This commit is contained in:
@@ -8,6 +8,7 @@ from jedi import debug
|
||||
CODES = {
|
||||
'attribute-error': (1, 'Potential AttributeError.'),
|
||||
'import-error': (2, 'Potential ImportError.'),
|
||||
'type-error-generator': (3, "TypeError: 'generator' object is not subscriptable."),
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user