jenkins-bot has submitted this change. ( https://gerrit.wikimedia.org/r/c/pywikibot/core/+/676807 )
Change subject: [sphinx] Remove """Initializer.""" from doc ......................................................................
[sphinx] Remove """Initializer.""" from doc
Change-Id: I4dd8376bc02924c12164a6408b0fff9a0677f784 --- M docs/conf.py M scripts/archivebot.py 2 files changed, 7 insertions(+), 4 deletions(-)
Approvals: Xqt: Looks good to me, approved jenkins-bot: Verified
diff --git a/docs/conf.py b/docs/conf.py index 1869c2e..4490491 100644 --- a/docs/conf.py +++ b/docs/conf.py @@ -408,7 +408,9 @@
length = 0 for index, line in enumerate(lines): - if line == '¶ms;': + if line == 'Initializer.': + lines[line] = '' + elif line == '¶ms;': lines[index] = ('This script supports use of ' ':py:mod:`pywikibot.pagegenerators` arguments.') elif name == 'scripts.replace' and line == '&fixes-help;': diff --git a/scripts/archivebot.py b/scripts/archivebot.py index 69ae930..a48673b 100755 --- a/scripts/archivebot.py +++ b/scripts/archivebot.py @@ -328,10 +328,11 @@
It represents something that is of the form:
- == Title of thread == + == Title of thread ==
- Thread content here. ~~~~ - :Reply, etc. ~~~~ + Thread content here. ~~~~ + :Reply, etc. ~~~~ + """
def __init__(self, title: str, timestripper: TimeStripper) -> None: