mirror of
https://github.com/davidhalter/typeshed.git
synced 2025-12-08 13:04:46 +08:00
stdlib: Improve a bunch of __(a)exit__ methods (#7571)
This commit is contained in:
@@ -73,7 +73,7 @@ class NNTP:
|
||||
timeout: float = ...,
|
||||
) -> None: ...
|
||||
def __enter__(self: Self) -> Self: ...
|
||||
def __exit__(self, *args: Any) -> None: ...
|
||||
def __exit__(self, *args: object) -> None: ...
|
||||
def getwelcome(self) -> str: ...
|
||||
def getcapabilities(self) -> dict[str, _list[str]]: ...
|
||||
def set_debuglevel(self, level: int) -> None: ...
|
||||
|
||||
Reference in New Issue
Block a user