Closed Oscillope closed 6 years ago
They're not very "pythonic", apparently. It seems we should just access properties directly, or if we need to run code first, use the @property decorator.
@property
See: https://stackoverflow.com/questions/2627002/whats-the-pythonic-way-to-use-getters-and-setters
They're not very "pythonic", apparently. It seems we should just access properties directly, or if we need to run code first, use the
@property
decorator.See: https://stackoverflow.com/questions/2627002/whats-the-pythonic-way-to-use-getters-and-setters