Mercurial > hg
view tests/test-ui-color.py.out @ 32640:aeac3cbcbbc1
py3: use dict.update() instead of constructing lists and adding them
dict.items() returned a list on Python 2 and whereas on Python 3 it returns a
view object. So we required a work around. Using dict.update() is better then
constructing lists as it should save us on gc churns.
author | Pulkit Goyal <7895pulkit@gmail.com> |
---|---|
date | Thu, 01 Jun 2017 01:14:02 +0530 |
parents | 842a9179132c |
children | b8c2004a8d2b |