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
The current behaviour is to add the docstring twice:
def my_func(a:int, b:str) -> str:
"""
Parameters
----------
a : int
b : str
Returns
-------
str
"""
"""
Parameters
----------
a : int
b : str
Returns
-------
str
"""
return a * b
Overwriting the previous docstring would be more intuitive imo.
For example, if I change my function annotation and want to regenerate the docstrings, I'd rather have it overwrite the existing docstring instead of writing a new one below it.
What do you think?
The text was updated successfully, but these errors were encountered:
The current behaviour is to add the docstring twice:
Overwriting the previous docstring would be more intuitive imo.
For example, if I change my function annotation and want to regenerate the docstrings, I'd rather have it overwrite the existing docstring instead of writing a new one below it.
What do you think?
The text was updated successfully, but these errors were encountered: