jenkins-bot has submitted this change. ( https://gerrit.wikimedia.org/r/c/pywikibot/core/+/816300 )
Change subject: [bugfix] abstract generator method of GeneratorWrapper should be a property ......................................................................
[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(-)
Approvals: Xqt: Looks good to me, approved jenkins-bot: Verified
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."""
pywikibot-commits@lists.wikimedia.org