simple generator static analysis subscript check

This commit is contained in:
Dave Halter committed 2014-05-12 16:06:28 +02:00
1 parent b6ec589997
commit 64af9524b7
3 files changed
+12 -1

No files matched your search

+1
View File
@@ -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."),
}