Exception message:
Invoke() takes exactly 4 arguments (1 given)
Code for reproducing the error
from importlib import import_module
globals()['defaultdict'] = getattr(import_module('collections'), 'defaultdict')
print defaultdict
# Ausgabe: <type '_collections.defaultdict'>