[Pywikibot-commits] [Gerrit] ...core[master]: [IMPR] Raise TypeError when argument has wrong type