Embed Notice
HTML Code
Corresponding Notice
- Embed this notice
Account: Computers (pro@mu.zaitcev.nu)'s status on Thursday, 18-Jan-2024 05:51:38 JST Account: Computers
I programmed in Python for 15 years now and I finally decided to learn how class variables actually worked. Sometimes they behave as if they're in the __dict__ of a class, but sometimes they're visible in the instance, or even more - they are private to the instance. It's far more complicated than I assumed.