Mercurial > hg
view hgext/__init__.py @ 51887:1d95a87813ad
typing: add type annotations to the `mercurial.util.filestat` class
It's referenced in the `vfs` classes, so get this out of the way to help there.
The `TypeVar` definition and its usage was copied from the existing `util.pyi`
file.
author | Matt Harbison <matt_harbison@yahoo.com> |
---|---|
date | Fri, 20 Sep 2024 00:04:09 -0400 |
parents | f4733654f144 |
children |
line wrap: on
line source
from __future__ import annotations import pkgutil __path__ = pkgutil.extend_path(__path__, __name__)