3 ms·
Python's properties are great for this. You can start off with public attributes and later switch to properties without changing the API.
by cup-of-tea 9y ago
Python's properties are great for this. You can start off with public attributes and later switch to properties without changing the API.