mercurial/util.py
changeset 51729 278af66e6595
parent 51721 ed28085827ec
child 51731 92845af308b4
equal deleted inserted replaced
51728:2e9e62242451 51729:278af66e6595
    46     Tuple,
    46     Tuple,
    47 )
    47 )
    48 
    48 
    49 from .node import hex
    49 from .node import hex
    50 from .thirdparty import attr
    50 from .thirdparty import attr
       
    51 
       
    52 # Force pytype to use the non-vendored package
       
    53 if typing.TYPE_CHECKING:
       
    54     # noinspection PyPackageRequirements
       
    55     import attr
       
    56 
    51 from .pycompat import (
    57 from .pycompat import (
    52     open,
    58     open,
    53 )
    59 )
    54 from hgdemandimport import tracing
    60 from hgdemandimport import tracing
    55 from . import (
    61 from . import (