changeset 51725 | 278af66e6595 |
parent 51717 | ed28085827ec |
child 51727 | 92845af308b4 |
--- a/mercurial/util.py Tue Jul 23 19:14:16 2024 -0400 +++ b/mercurial/util.py Tue Jul 23 19:20:22 2024 -0400 @@ -48,6 +48,12 @@ from .node import hex from .thirdparty import attr + +# Force pytype to use the non-vendored package +if typing.TYPE_CHECKING: + # noinspection PyPackageRequirements + import attr + from .pycompat import ( open, )