Fix a setter property in Python 3