If a function has no argument and a multi-line description, Pyment will insert two blank lines between the description and the end of the docstring. It should be one blank line.
The following example:
def func():
"""Description
in two lines
"""
pass
Will provide the patch:
# Patch generated by Pyment v0.3.2-dev4
--- a/tst.py
+++ b/tst.py
@@ -1,6 +1,7 @@
def func():
"""Description
in two lines
+
"""
pass
If a function has no argument and a multi-line description, Pyment will insert two blank lines between the description and the end of the docstring. It should be one blank line.
The following example:
Will provide the patch: