From aebfb3d162b3fb4b813f3de1585499d2a21e6ea4 Mon Sep 17 00:00:00 2001 From: David Halter Date: Thu, 2 May 2013 11:33:14 +0430 Subject: [PATCH] fix pass indentation in functions --- jedi/parsing_representation.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/jedi/parsing_representation.py b/jedi/parsing_representation.py index 55d4904f..5fd2c580 100644 --- a/jedi/parsing_representation.py +++ b/jedi/parsing_representation.py @@ -455,7 +455,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 += indention + 'pass\n' + string += 'pass\n' return string def is_empty(self):