type -> python_type (we shouldn't override a built-in function name)