Python 2.6 and later has __code__.