Mercurial > hg
comparison mercurial/i18n.py @ 31432:6e1c79578e5c
mq: explicitly tests for None
Changeset fd3d8eb7f545 removed the mutable default value, but did not explicitly
tested for None. Such implicit testing can introduce semantic and performance
issue. We move to an explicit testing for None as recommended by PEP8:
https://www.python.org/dev/peps/pep-0008/#programming-recommendations
author | Pierre-Yves David <pierre-yves.david@ens-lyon.org> |
---|---|
date | Wed, 15 Mar 2017 15:05:54 -0700 |
parents | 2912b06905dc |
children | 75979c8d4572 |
comparison
equal
deleted
inserted
replaced
31431:406705701c2d | 31432:6e1c79578e5c |
---|