1
0
forked from VimPlug/jedi

some parser end positions changed

This commit is contained in:
David Halter
2013-04-15 10:22:27 +04:30
parent bafb17001b
commit b08390c136
5 changed files with 14 additions and 5 deletions

View File

@@ -454,7 +454,7 @@ class Function(Scope):
string += "def %s(%s):\n" % (self.name, params)
string += super(Function, self).get_code(True, indention)
if self.is_empty():
string += "pass\n"
string += indention + 'pass\n'
return string
def is_empty(self):