Open mostafa-abdullah opened 6 years ago
When a class has an instance attribute with the name count, a type error is thrown. For example, this throws an error:
count
class A: def __init__(self): self.count = 1
But this one doesn't:
class A: def __init__(self): self.count2 = 1
When a class has an instance attribute with the name
count
, a type error is thrown. For example, this throws an error:But this one doesn't: