Skip to content

Commit

Permalink
Merge "doc: single line docstrings needs an additional line feed"
Browse files Browse the repository at this point in the history
  • Loading branch information
jenkins-bot authored and Gerrit Code Review committed Dec 2, 2024
2 parents 093ccad + 58bb688 commit 5143b31
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pywikibot/tools/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -192,7 +192,7 @@ def __init__(self, cls_method) -> None:
else:
spaces = ''

self.__doc__ += f'\n{spaces}:rtype: {rtype}'
self.__doc__ += f'\n\n{spaces}:rtype: {rtype}'

def __get__(self, instance, owner):
"""Get the attribute of the owner class by its method."""
Expand Down

0 comments on commit 5143b31

Please sign in to comment.