TypeError: 'int' object is not callable TypeError: 'xxx' object is not callable
python中如果变量名被重新定义,那旧的变量的含义就被取代了。
例如,set()原来是个方法名,之后被定义为数值变量名,原来的方法就不能使用了。
python 3.7.0 (v3.7.0:1bf9cc5093, Jun 27 2018, 04:06:47) [MSC v.1914 32 bit (Intel)] on win32
Type "help", "copyright", "cred...
原创
2018-07-20 17:08:42 ·
956 阅读 ·
0 评论