mirror of
https://github.com/davidhalter/typeshed.git
synced 2025-12-07 20:54:28 +08:00
Audit stdlib object annotations (#9519)
This commit is contained in:
@@ -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: ...
|
||||
|
||||
Reference in New Issue
Block a user