Message289309
Following PR updates Python sources to use new shiny syntax for properties. It replaces the old code
def _foo(self):
...
def _set_foo(self, value):
...
foo = property(_foo, _set_foo)
with the new code
@property
def foo(self):
...
@foo.setter
def foo(self, value):
...
New syntax was added in Python 2.4. |
|
Date |
User |
Action |
Args |
2017-03-09 17:10:02 | serhiy.storchaka | set | recipients:
+ serhiy.storchaka |
2017-03-09 17:10:02 | serhiy.storchaka | set | messageid: <1489079402.47.0.435152463031.issue29776@psf.upfronthosting.co.za> |
2017-03-09 17:10:02 | serhiy.storchaka | link | issue29776 messages |
2017-03-09 17:10:02 | serhiy.storchaka | create | |
|