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

Yuya Nishihara yuya at tcha.org
Sun Jan 17 09:33:55 CST 2016


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.


More information about the Mercurial-devel mailing list