whatfunc See if this suits your console cravings: $ what(3, 3) 3.__abs__ == 3 3.__hash__ == 3 3.__index__ == 3 3.__int__ == 3 3.__pos__ == 3 3.__trunc__ == 3 3.conjugate == 3