jenkins-bot submitted this change.

View Change

Approvals: Matěj Suchánek: Looks good to me, approved jenkins-bot: Verified
[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(-)

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

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

Gerrit-Project: pywikibot/core
Gerrit-Branch: master
Gerrit-Change-Id: If7515f63a4b693a99fef19d69494cc9fbf1bd250
Gerrit-Change-Number: 614568
Gerrit-PatchSet: 2
Gerrit-Owner: Xqt <info@gno.de>
Gerrit-Reviewer: JJMC89 <JJMC89.Wikimedia@gmail.com>
Gerrit-Reviewer: Matěj Suchánek <matejsuchanek97@gmail.com>
Gerrit-Reviewer: jenkins-bot
Gerrit-MessageType: merged