mirror of
https://github.com/davidhalter/jedi.git
synced 2026-10-10 20:29:11 +08:00
array indexing works now also with variables
This commit is contained in:
1 parent
8780199a33
commit
c154bdad0e
5 files changed
+56
-10
No files matched your search
@@ -99,3 +99,12 @@ def iter(collection, sentinel=None):
|
||||
yield collection()
|
||||
else:
|
||||
yield next(collection)
|
||||
|
||||
# basic types
|
||||
class int():
|
||||
def __init__(self, x, base=None):
|
||||
self.x = x
|
||||
|
||||
class str():
|
||||
def __init__(self, obj):
|
||||
self.obj = obj
|
||||
Reference in new issue
Block a user