mirror of
https://github.com/davidhalter/jedi.git
synced 2025-12-16 02:27:06 +08:00
A lot of small bug fixes.
This commit is contained in:
@@ -596,7 +596,7 @@ class Definition(BaseDefinition):
|
||||
if typ == 'instance':
|
||||
typ = 'class' # The description should be similar to Py objects.
|
||||
d = typ + ' ' + d.name.get_code()
|
||||
elif isinstance(d, iterable.ArrayLiteralContext):
|
||||
elif isinstance(d, iterable.SequenceLiteralContext):
|
||||
d = 'class ' + d.type
|
||||
elif isinstance(d, (tree.Class, er.ClassContext, er.Instance)):
|
||||
d = 'class ' + unicode(d.name)
|
||||
|
||||
Reference in New Issue
Block a user