Mercurial > hg
view mercurial/thirdparty/attr/_cmp.pyi @ 51017:edc44ab7437a
debug-revlog: keep the revlog open for the analysis duration
This is more explicit. No performance differences were observed.
author | Pierre-Yves David <pierre-yves.david@octobus.net> |
---|---|
date | Mon, 25 Sep 2023 16:57:53 +0200 |
parents | e1c586b9a43c |
children |
line wrap: on
line source
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: ...