slices should be ignored in __getitem__ settings (for now)

This commit is contained in:
Dave Halter committed 2014-04-28 18:15:25 +02:00
1 parent d106b2ce2b
commit 23b4a89d1d
4 files changed
+18 -2

No files matched your search

-1
View File
@@ -11,7 +11,6 @@ would check whether a flow has the form of ``if isinstance(a, type_or_tuple)``.
Unfortunately every other thing is being ignored (e.g. a == '' would be easy to
check for -> a is a string). There's big potential in these checks.
"""
import copy
import sys
from jedi._compatibility import hasattr, unicode, u, reraise