def __new__(cls, *args, **kwargs):
print ('call __new__ method')
print (args)
return object.__new__(cls)
#return super(Programer.cls).__new__(cls) 这样改依然报错
print ('call __new__ method')
print (args)
return object.__new__(cls)
#return super(Programer.cls).__new__(cls) 这样改依然报错
2017-04-11