Closed wagnerpeer closed 2 years ago
For the following class, I would expect to generate an empty docstring if running pyment without parameters:
pyment
class Class(object): # '''some # multi-line # comment # string''' pass
However the commented multi-line-string gets surrounded by docstring quotes.
Output:
--- a/issue67.py +++ b/issue67.py @@ -1,6 +1,9 @@ class Class(object): - # '''some + """# '''some # multi-line # comment - # string''' + # string + + + """ pass
To me it looks like a similar issue #58
For the following class, I would expect to generate an empty docstring if running
pyment
without parameters:However the commented multi-line-string gets surrounded by docstring quotes.
Output:
To me it looks like a similar issue #58