On 05/17/2019 11:37 AM, Irv Kalb wrote:

self.x = self.x + 1

I have never run across this issue because I would never use the same name as 
an instance attribute and a class attribute.

So you treat your class attributes as if they were static?

--
~Ethan~
--
https://mail.python.org/mailman/listinfo/python-list

Reply via email to