working on rewriting compiler ir to fix reg alloc issues
[bigint-presentation-code.git] / typings / cached_property.pyi
index b8b1f305ef4ed3a758944974b08b048fb8ef5a56..5ec70856242022a25d79008a336cd358460e61d7 100644 (file)
@@ -1,15 +1 @@
-from typing import Any, Callable, Generic, TypeVar, overload
-
-_T = TypeVar("_T")
-
-
-class cached_property(Generic[_T]):
-    def __init__(self, func: Callable[[Any], _T]) -> None: ...
-
-    @overload
-    def __get__(self, instance: None,
-                owner: type[Any] | None = ...) -> cached_property[_T]: ...
-
-    @overload
-    def __get__(self, instance: object,
-                owner: type[Any] | None = ...) -> _T: ...
+cached_property = property