[PATCH] cleanup: use modern @property/@foo.setter property specification

Pierre-Yves David pierre-yves.david at ens-lyon.org
Sun Jan 17 19:17:46 CST 2016



On 01/17/2016 07:33 AM, Yuya Nishihara wrote:
> On Sat, 16 Jan 2016 11:46:08 -0500, Augie Fackler wrote:
>> # HG changeset patch
>> # User Augie Fackler <augie at google.com>
>> # Date 1452959428 18000
>> #      Sat Jan 16 10:50:28 2016 -0500
>> # Node ID c4a5e01f59e037a1fc7f23fe526760df159e6804
>> # Parent  0029c2bebc23182c34f83fa22abde1d5d4aebc51
>> cleanup: use modern @property/@foo.setter property specification
>>
>> We can use this now that we're 2.6+, and this is more idiomatic modern
>> Python.
>
> Looks good to me.

Pushed to the clowncopter.


-- 
Pierre-Yves David


More information about the Mercurial-devel mailing list