mirror of
https://github.com/davidhalter/jedi.git
synced 2025-12-08 14:54:47 +08:00
full dictionary suport
This commit is contained in:
@@ -769,8 +769,8 @@ class Call(object):
|
||||
yield y
|
||||
|
||||
def __repr__(self):
|
||||
return "<%s: %s of %s>" % \
|
||||
(self.__class__.__name__, self.name, self.parent)
|
||||
return "<%s: %s>" % \
|
||||
(self.__class__.__name__, self.name)
|
||||
|
||||
|
||||
class Array(Call):
|
||||
@@ -820,6 +820,7 @@ class Array(Call):
|
||||
"""
|
||||
self.type = Array.DICT
|
||||
self.keys.append(self.values.pop())
|
||||
self.values.append([])
|
||||
|
||||
def get_only_subelement(self):
|
||||
"""
|
||||
|
||||
Reference in New Issue
Block a user