A lot of small bug fixes.

This commit is contained in:
Dave Halter
2016-12-02 15:08:54 +01:00
parent 16a48a7a45
commit dfc06dfe83
5 changed files with 90 additions and 70 deletions

View File

@@ -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)