You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I tend to document my class with both a class doc string and a separate __init__ docstring for the constructor. Pyment seems to treat class doc strings as if they were method doc strings which is not helpful.
Desired behavior: only create Args: and Returns: sections if there is no separate __init__ doc string. Alternatively: never create empty Args: and Return: sections for classes. Only if there is :param etc statements in the original class doc string, creating these sections would make sense.
The text was updated successfully, but these errors were encountered:
I tend to document my class with both a class doc string and a separate
__init__
docstring for the constructor. Pyment seems to treat class doc strings as if they were method doc strings which is not helpful.Desired behavior: only create Args: and Returns: sections if there is no separate
__init__
doc string. Alternatively: never create empty Args: and Return: sections for classes. Only if there is :param etc statements in the original class doc string, creating these sections would make sense.The text was updated successfully, but these errors were encountered: