python function dict unsubscriptable

I wrongly wrote like this.

H = makeHash

I should have written like this.

H = makeHash()

:p