[python] How to know function return type and argument types?