jenkins-bot has submitted this change. ( 
https://gerrit.wikimedia.org/r/c/pywikibot/core/+/1099739?usp=email )

Change subject: doc: single line docstrings needs an additional line feed
......................................................................

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(-)

Approvals:
  Xqt: Looks good to me, approved
  jenkins-bot: Verified




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 
https://gerrit.wikimedia.org/r/c/pywikibot/core/+/1099739?usp=email
To unsubscribe, or for help writing mail filters, visit 
https://gerrit.wikimedia.org/r/settings?usp=email

Gerrit-MessageType: merged
Gerrit-Project: pywikibot/core
Gerrit-Branch: master
Gerrit-Change-Id: Ifb72012068ebdf3eefd5c0ef418854257c3b041f
Gerrit-Change-Number: 1099739
Gerrit-PatchSet: 2
Gerrit-Owner: Xqt <i...@gno.de>
Gerrit-Reviewer: Xqt <i...@gno.de>
Gerrit-Reviewer: jenkins-bot
_______________________________________________
Pywikibot-commits mailing list -- pywikibot-commits@lists.wikimedia.org
To unsubscribe send an email to pywikibot-commits-le...@lists.wikimedia.org

Reply via email to