##// END OF EJS Templates
manifest: clear `_lazydirs` in place in `_loadalllazy`...
manifest: clear `_lazydirs` in place in `_loadalllazy` This avoid resetting the type of the dictionary in pytype eyes. This is consistent with the way the dictionary is cleared bits by bits in `_loadalllazy` Having more accurate code will help pytype. We do it in advance to help bisecting and avoid drowning them in the future type annotation noise.

File last commit:

r50538:e1c586b9 default
r52663:3be39e36 default
Show More
_cmp.pyi
13 lines | 357 B | text/x-python | PythonLexer
Matt Harbison
attr: vendor 22.1.0...
r50538 from typing import Any, Callable, Optional, Type
_CompareWithType = Callable[[Any, Any], bool]
def cmp_using(
eq: Optional[_CompareWithType],
lt: Optional[_CompareWithType],
le: Optional[_CompareWithType],
gt: Optional[_CompareWithType],
ge: Optional[_CompareWithType],
require_same_type: bool,
class_name: str,
) -> Type: ...