Mercurial > evolve
view hgext3rd/__init__.py @ 6631:0f8dbea4458e
topic: use functools.partial() instead of using __get__ method-wrapper
This was confusing to pytype (and potentially to humans reading this code), so
let's use functools here. The new code might actually be more self-explanatory.
author | Anton Shestakov <av6@dwimlabs.net> |
---|---|
date | Mon, 01 Jan 2024 19:00:18 -0300 |
parents | 143c8e4dc22d |
children |
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__)