Mercurial > hg
diff hgext3rd/__init__.py @ 28717:c5f212c8ad78
pypy: fix doctests for pypy optimizations
PyPy would sometime call __len__ at points where it things preallocating
the container makes sense. Change the doctests so they're using generator
expressions and not list comprehensions
author | Maciej Fijalkowski <fijall@gmail.com> |
---|---|
date | Thu, 31 Mar 2016 18:38:08 +0200 |
parents | 4b81487a01d4 |
children | 2372284d9457 |