##// END OF EJS Templates
typing: add type hints for the overloads of `matchmod.readpatternfile()`...
typing: add type hints for the overloads of `matchmod.readpatternfile()` The return type is conditional on an argument passed, and it very much confused both pytype and PyCharm inside `dirstate._ignorefileandline()` after adding type hints for the return value there.

File last commit:

r50538:e1c586b9 default
r52819:70fe33bd default
Show More
_version_info.pyi
9 lines | 209 B | text/x-python | PythonLexer
Matt Harbison
attr: vendor 22.1.0...
r50538 class VersionInfo:
@property
def year(self) -> int: ...
@property
def minor(self) -> int: ...
@property
def micro(self) -> int: ...
@property
def releaselevel(self) -> str: ...