1
0
forked from VimPlug/jedi

different dynamic approach to get params, works already really good!

This commit is contained in:
David Halter
2012-08-06 01:33:01 +02:00
parent ee798b03f2
commit 92bf995c3a
4 changed files with 83 additions and 37 deletions

View File

@@ -320,6 +320,7 @@ class Function(Scope):
self.decorators = []
self.returns = []
self.is_generator = False
self.listeners = set() # not used here, but in evaluation.
def get_code(self, first_indent=False, indention=" "):
str = "\n".join('@' + stmt.get_code() for stmt in self.decorators)