some parser end positions changed
This commit is contained in:
1 parent
bafb17001b
commit
b08390c136
5 files changed
+14
-5
No files matched your search
@@ -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