jenkins-bot has submitted this change. ( https://gerrit.wikimedia.org/r/c/pywikibot/core/+/614568 )
Change subject: [bugfix] Add missing keyword-only argument for Site.categorymembers ......................................................................
[bugfix] Add missing keyword-only argument for Site.categorymembers
Bug: T258344 Change-Id: If7515f63a4b693a99fef19d69494cc9fbf1bd250 --- M pywikibot/page/__init__.py 1 file changed, 1 insertion(+), 1 deletion(-)
Approvals: Matěj Suchánek: Looks good to me, approved jenkins-bot: Verified
diff --git a/pywikibot/page/__init__.py b/pywikibot/page/__init__.py index 03c741f..8d7dea7 100644 --- a/pywikibot/page/__init__.py +++ b/pywikibot/page/__init__.py @@ -3002,7 +3002,7 @@ @rtype: typing.Iterable[pywikibot.Page] """ for member in self.site.categorymembers( - self, namespaces, total=total, content=content): + self, namespaces=namespaces, total=total, content=content): yield member if total is not None: total -= 1
pywikibot-commits@lists.wikimedia.org