Audit stdlib object annotations (#9519)

This commit is contained in:
Avasam authored and GitHub committed 2023-01-17 15:40:00 +00:00
1 parent 3d6b8dccfe
commit c70d303985
31 files changed
+79 -79

No files matched your search

+2 -2
View File
@@ -2,7 +2,7 @@ import datetime
import socket
import ssl
import sys
from _typeshed import Self
from _typeshed import Self, Unused
from builtins import list as _list # conflicts with a method named "list"
from collections.abc import Iterable
from typing import IO, Any, NamedTuple
@@ -73,7 +73,7 @@ class NNTP:
timeout: float = ...,
) -> None: ...
def __enter__(self: Self) -> Self: ...
def __exit__(self, *args: object) -> None: ...
def __exit__(self, *args: Unused) -> None: ...
def getwelcome(self) -> str: ...
def getcapabilities(self) -> dict[str, _list[str]]: ...
def set_debuglevel(self, level: int) -> None: ...