jenkins-bot submitted this change.

View Change

Approvals: Xqt: Looks good to me, approved jenkins-bot: Verified
[sphinx] Remove single "Initializer." line from doc in exceptions

Change-Id: I05b6d5849748271507c4b5a9f1e3bf5330892670
---
M docs/conf.py
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/docs/conf.py b/docs/conf.py
index 40726e9..d88005d 100644
--- a/docs/conf.py
+++ b/docs/conf.py
@@ -399,7 +399,7 @@

def pywikibot_docstring_fixups(app, what, name, obj, options, lines):
"""Fixup docstrings."""
- if what != 'class':
+ if what not in ('class', 'exception'):
return

if lines and lines[0] == 'Initializer.':

To view, visit change 683906. To unsubscribe, or for help writing mail filters, visit settings.

Gerrit-Project: pywikibot/core
Gerrit-Branch: master
Gerrit-Change-Id: I05b6d5849748271507c4b5a9f1e3bf5330892670
Gerrit-Change-Number: 683906
Gerrit-PatchSet: 2
Gerrit-Owner: Xqt <info@gno.de>
Gerrit-Reviewer: Xqt <info@gno.de>
Gerrit-Reviewer: jenkins-bot
Gerrit-MessageType: merged