mirror of
https://github.com/davidhalter/typeshed.git
synced 2025-12-07 20:54:28 +08:00
[Deprecated] Update to 1.2.15 (#13020)
This commit is contained in:
@@ -1,3 +1,3 @@
|
||||
version = "1.2.*"
|
||||
version = "~=1.2.15"
|
||||
upstream_repository = "https://github.com/tantale/deprecated"
|
||||
requires = []
|
||||
|
||||
@@ -13,7 +13,12 @@ class ClassicAdapter:
|
||||
action: _Actions | None
|
||||
category: type[Warning]
|
||||
def __init__(
|
||||
self, reason: str = "", version: str = "", action: _Actions | None = None, category: type[Warning] = ...
|
||||
self,
|
||||
reason: str = "",
|
||||
version: str = "",
|
||||
action: _Actions | None = None,
|
||||
category: type[Warning] = ...,
|
||||
extra_stacklevel: int = 0,
|
||||
) -> None: ...
|
||||
def get_deprecated_msg(self, wrapped: Callable[..., Any], instance: object) -> str: ...
|
||||
def __call__(self, wrapped: _F) -> Callable[[_F], _F]: ...
|
||||
|
||||
@@ -18,6 +18,7 @@ class SphinxAdapter(ClassicAdapter):
|
||||
version: str = "",
|
||||
action: _Actions | None = None,
|
||||
category: type[Warning] = ...,
|
||||
extra_stacklevel: int = 0,
|
||||
line_length: int = 70,
|
||||
) -> None: ...
|
||||
def __call__(self, wrapped: _F) -> Callable[[_F], _F]: ...
|
||||
|
||||
Reference in New Issue
Block a user