Mercurial > hg
comparison tests/test-pager.t @ 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 | 3b569745af6c |
children | 75be14993fda |
comparison
equal
deleted
inserted
replaced
32639:c2fe2b00db53 | 32640:aeac3cbcbbc1 |
---|