In Python, Is type implemented as a callable class?

后端 未结 0 1825
温柔的废话
温柔的废话 2020-12-22 13:31

when I call type(int), it returns type; when I call type(10), it returns int (and, why is this not the string \'int\', but just int ??).

type seems to be a class inhe

相关标签:
回答
  • 消灭零回复
提交回复
热议问题