[FIX] Use Dict in place of DefaultDict
[FIX] Use Dict in place of DefaultDict

typing.DefaultDict was introducted in Python 3.5.2

Bug: T257770
Change-Id: Ibf45f955c10f7e3079718754fb634734635e58f5

wikimedia/pywikibot-core,wikimedia/pywikibot-core