1
0
forked from VimPlug/jedi

Fix: __getitem__ sometimes didnt evaluate all the types.

This commit is contained in:
Dave Halter
2015-12-05 12:36:05 +01:00
parent d65684a40b
commit 3910d97b7e
3 changed files with 8 additions and 14 deletions

View File

@@ -41,11 +41,11 @@ b[int():]
class _StrangeSlice():
def __getitem__(self, slice):
return slice
def __getitem__(self, sliced):
return sliced
# Should not result in an error, just because the slice itself is returned.
#? []
#? slice()
_StrangeSlice()[1:2]