dadadel / pyment

Format and convert Python docstrings and generates patches
GNU General Public License v3.0
905 stars 62 forks source link

Comments after def statement not supported #58

Closed dadadel closed 6 years ago

dadadel commented 6 years ago

As pointed by @WoLpH, comments after def statement are not supported and the method will be ignored. So the following won't be processed:

def method(): # some comment
dadadel commented 6 years ago

The PR #55 fixed the problem.