mirror of
https://github.com/SickGear/SickGear.git
synced 2024-12-26 04:33:38 +00:00
13 lines
368 B
Python
13 lines
368 B
Python
from typing import Any, Callable
|
|
|
|
_CompareWithType = Callable[[Any, Any], bool]
|
|
|
|
def cmp_using(
|
|
eq: _CompareWithType | None = ...,
|
|
lt: _CompareWithType | None = ...,
|
|
le: _CompareWithType | None = ...,
|
|
gt: _CompareWithType | None = ...,
|
|
ge: _CompareWithType | None = ...,
|
|
require_same_type: bool = ...,
|
|
class_name: str = ...,
|
|
) -> type: ...
|