view hgext3rd/__init__.py @ 6455:31296f71c121 stable

precheck: use getargspec() instead of using __code__ for checking arguments Apparently when precheck() in core was wrapped in functools.partial(), this code was broken ("functools.partial has no attribute '__code__'").
author Anton Shestakov <av6@dwimlabs.net>
date Thu, 16 Mar 2023 20:42:55 -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__)