jenkins-bot submitted this change.

View Change

Approvals: Xqt: Looks good to me, approved jenkins-bot: Verified
[bugfix] abstract generator method of GeneratorWrapper should be a property

Change-Id: I44e7a4fb6905cccb95b440b58b596dbfd92f5bc3
---
M pywikibot/tools/collections.py
1 file changed, 1 insertion(+), 0 deletions(-)

diff --git a/pywikibot/tools/collections.py b/pywikibot/tools/collections.py
index a6934dc..b536e7a 100644
--- a/pywikibot/tools/collections.py
+++ b/pywikibot/tools/collections.py
@@ -255,6 +255,7 @@
.. seealso:: :pep:`342`
"""

+ @property
@abstractmethod
def generator(self) -> GeneratorType[Any, Any, Any]:
"""Abstract generator property."""

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

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