[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Instance vs Class variable oddity

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?