dadadel / pyment

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

Added support for comments after def statements #55

Closed wolph closed 6 years ago

wolph commented 6 years ago

Without this fix the parser doesn't understand code such as:

def spam():  # pragma: no cover
    ...
dadadel commented 6 years ago

I created a related issue for the tests #58.

dadadel commented 6 years ago

thanks @WoLpH!