Oct-30-2018, 01:17 AM
This is Python, not Java. You never almost never use getters and setters in Python. If you really need that sort of security you use properties. But a class like the one in your example, you just don't bother.
Craig "Ichabod" O'Brien - xenomind.com
I wish you happiness.
Recommended Tutorials: BBCode, functions, classes, text adventures
I wish you happiness.
Recommended Tutorials: BBCode, functions, classes, text adventures