There are a few places in the codebase where we use the old style property(...) to define getters and setters for properties - which we can now replace with the @property decorator.
|
# This is a Python property because this is not a HasTraits subclass. |
|
container = property(get_container, set_container) |
|
# This is a Python property because this is not a HasTraits subclass. |
|
container = property(get_container, set_container) |
|
func = property(_get_func) |
There are a few places in the codebase where we use the old style
property(...)to define getters and setters for properties - which we can now replace with the@propertydecorator.chaco/chaco/shell/plot_window.py
Lines 90 to 91 in d7885d5
chaco/chaco/shell/plot_window.py
Lines 210 to 211 in d7885d5
chaco/chaco/tests/test_speedups.py
Line 58 in 3de7780