Skip to content
3 changes: 2 additions & 1 deletion stubs/Deprecated/deprecated/sphinx.pyi
Original file line number Diff line number Diff line change
Expand Up @@ -17,11 +17,12 @@ class SphinxAdapter(ClassicAdapter):
reason: str = "",
version: str = "",
action: _Actions | None = None,
category: type[Warning] = ...,
category: type[Warning] = DeprecationWarning, # noqa: Y011
extra_stacklevel: int = 0,
line_length: int = 70,
) -> None: ...
def __call__(self, wrapped: _F) -> Callable[[_F], _F]: ...
def get_deprecated_msg(self, wrapped: Any, instance: Any) -> str: ...

def versionadded(reason: str = "", version: str = "", line_length: int = 70) -> Callable[[_F], _F]: ...
def versionchanged(reason: str = "", version: str = "", line_length: int = 70) -> Callable[[_F], _F]: ...
Expand Down
Loading