[Pywikibot-commits] [Gerrit] pywikibot/core[master]: api.py: Cache the result of _get_cache_dir