News for hackers. Stuff that matters.
Re:WTFPython: Exploring and understanding Python through sur... by Diggsey on Tuesday May 31, 2022 @06:48AM (#31568040)
What happens to `obj.a`/`obj.b` is not the point of the example, you should be looking at `A.a`/`A.b`.
Re:WTFPython: Exploring and understanding Python through sur... by hoseja on Tuesday May 31, 2022 @07:31AM (#31568324)
Is that like a static member? Truly, dynamic languages are God's curse upon the Earth.
Re:WTFPython: Exploring and understanding Python through sur... by digisign on Tuesday May 31, 2022 @01:22PM (#31572209)
It refers to the class, not the instance.