jenkins-bot has submitted this change and it was merged.

Change subject: template.py: fix docstring
......................................................................


template.py: fix docstring

Fix parameter name in docstring:
    replacements -> templates

Change-Id: Ib4cd879a58cdba24107536e1096ef220b6f17fd0
---
M scripts/template.py
1 file changed, 2 insertions(+), 2 deletions(-)

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



diff --git a/scripts/template.py b/scripts/template.py
index b1054e4..dde75ad 100755
--- a/scripts/template.py
+++ b/scripts/template.py
@@ -201,10 +201,10 @@
 
         @param generator: the pages to work on
         @type  generator: iterable
-        @param replacements: a dictionary which maps old template names to
+        @param templates: a dictionary which maps old template names to
             their replacements. If remove or subst is True, it maps the
             names of the templates that should be removed/resolved to None.
-        @type  replacements: dict
+        @type  templates: dict
         """
         self.availableOptions.update({
             'subst': False,

-- 
To view, visit https://gerrit.wikimedia.org/r/192693
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings

Gerrit-MessageType: merged
Gerrit-Change-Id: Ib4cd879a58cdba24107536e1096ef220b6f17fd0
Gerrit-PatchSet: 2
Gerrit-Project: pywikibot/core
Gerrit-Branch: master
Gerrit-Owner: Mpaa <mpaa.w...@gmail.com>
Gerrit-Reviewer: John Vandenberg <jay...@gmail.com>
Gerrit-Reviewer: Ladsgroup <ladsgr...@gmail.com>
Gerrit-Reviewer: Merlijn van Deen <valhall...@arctus.nl>
Gerrit-Reviewer: Ricordisamoa <ricordisa...@openmailbox.org>
Gerrit-Reviewer: jenkins-bot <>

_______________________________________________
MediaWiki-commits mailing list
MediaWiki-commits@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to