Mercurial > hg
view hgext/__init__.py @ 29779:997e8cf4d0a2
pycompat: avoid using an extra function
We have a single line function which just lowercase the letters and replaces
"_" with "". Its better to avoid that function call. Moreover we calling this
function around 33 times.
author | Pulkit Goyal <7895pulkit@gmail.com> |
---|---|
date | Sat, 13 Aug 2016 04:21:42 +0530 |
parents | 155e3308289c |
children | 2372284d9457 |
line wrap: on
line source
from __future__ import absolute_import import pkgutil __path__ = pkgutil.extend_path(__path__, __name__)