1
0
forked from VimPlug/jedi

Get an own class for type aliases

This commit is contained in:
Dave Halter
2018-08-29 22:46:28 +02:00
parent 0edfe86d8b
commit 511ba5231a
3 changed files with 50 additions and 15 deletions

View File

@@ -397,6 +397,9 @@ class LazyInstanceClassName(object):
def __getattr__(self, name):
return getattr(self._class_member_name, name)
def __repr__(self):
return '<%s: %s>' % (self.__class__.__name__, self._class_member_name)
class InstanceClassFilter(filters.AbstractFilter):
"""