@roganjosh Well you don't
need functools, but why re-invent the wheel? :)
functools.singledispatch
is implemented in plain Python, you can see the source
here. Mind you, it has to do a lot of futzing around so that the dispatch behaves properly according to the type of the 1st arg.