Code to describe a function's signature in Python 2.x