We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 098f30e commit 0253d1eCopy full SHA for 0253d1e
1 file changed
stubs/Deprecated/deprecated/params.pyi
@@ -8,7 +8,7 @@ _R = TypeVar("_R")
8
class DeprecatedParams:
9
messages: dict[str, str]
10
category: type[Warning]
11
- def __init__(self, param: str | dict[str, str], reason: str = "", category: type[Warning] = ...) -> None: ...
+ def __init__(self, param: str | dict[str, str], reason: str = "", category: type[Warning] = DeprecationWarning) -> None: ...
12
def populate_messages(self, param: str | dict[str, str], reason: str = "") -> None: ...
13
def check_params(
14
self, signature: Signature, *args: Any, **kwargs: Any # args and kwargs passing to Signature.bind method
0 commit comments