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."""
pywikibot-commits@lists.wikimedia.org