1
0
forked from VimPlug/jedi

Usages are pretty solid now except for parser issues.

This commit is contained in:
Dave Halter
2014-11-22 15:43:23 +01:00
parent b82e1e28e5
commit f1cbd45575
5 changed files with 25 additions and 9 deletions

View File

@@ -1456,6 +1456,11 @@ class Param(Base):
return self.tfpdef.start_pos
def get_name(self):
# TODO remove!
return self.name
@property
def name(self):
if is_node(self.tfpdef, 'tfpdef'):
return self.tfpdef.children[0]
else: