在Python中,给定字符串'int',我该如何获得类型 int?使用getattr(current_module, 'int')不起作用.
'int'
int
getattr(current_module, 'int')
python
python ×1