[Pywikibot-commits] [Gerrit] api.py: improve QueryGenerator efficiency - change (pywikibot/core)