Freakishly terrible code for function overloading in Python 3.

Do not use this.