Mercurial > hg
comparison contrib/pylintrc @ 31476:413b44003462
py3: add __bool__ to every class defining __nonzero__
__nonzero__ was renamed to __bool__ in Python 3. This patch simply
aliases __bool__ to __nonzero__ for every class implementing
__nonzero__.
author | Gregory Szorc <gregory.szorc@gmail.com> |
---|---|
date | Mon, 13 Mar 2017 12:40:14 -0700 |
parents | 86531a7038ed |
children |
comparison
equal
deleted
inserted
replaced
31475:1b9b00aca8a3 | 31476:413b44003462 |
---|