1
0
forked from VimPlug/jedi

statements should care for its own docstrings, not the parser

This commit is contained in:
David Halter
2013-09-02 23:12:10 +04:30
parent 6ac3cfdece
commit 2b88640c3a
3 changed files with 4 additions and 1 deletions

View File

@@ -800,6 +800,8 @@ class Statement(Simple):
code = ''.join(assemble(*a) for a in self.assignment_details)
code += assemble(self.get_commands())
if self.docstr:
code += '\n"""%s"""' % self.docstr
if new_line:
return code + '\n'