forked from VimPlug/jedi
some parser end positions changed
This commit is contained in:
@@ -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):
|
||||
|
||||
Reference in New Issue
Block a user