I am trying to create a static dictionary which maps from a character to a function in Python like so :
class Foo: dict = {\'!\' : Foo.Bar} def Bar():