Mercurial > hg
view 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 |
line wrap: on
line source
# name space package to host third party extensions from __future__ import absolute_import import pkgutil __path__ = pkgutil.extend_path(__path__, __name__)