jenkins-bot submitted this change.
doc: single line docstrings needs an additional line feed
Bug: T381279
Change-Id: Ifb72012068ebdf3eefd5c0ef418854257c3b041f
---
M pywikibot/tools/__init__.py
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/pywikibot/tools/__init__.py b/pywikibot/tools/__init__.py
index d36f52c..ba49aa0 100644
--- a/pywikibot/tools/__init__.py
+++ b/pywikibot/tools/__init__.py
@@ -192,7 +192,7 @@
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."""
To view, visit change 1099739. To unsubscribe, or for help writing mail filters, visit settings.