mirror of
https://github.com/davidhalter/typeshed.git
synced 2025-12-07 12:44:28 +08:00
Big diff: use lower-case list and dict (#5888)
This commit is contained in:
@@ -2,7 +2,7 @@ import os
|
||||
import sys
|
||||
from _typeshed import Self
|
||||
from types import TracebackType
|
||||
from typing import IO, Any, AnyStr, Generic, Iterable, Iterator, List, Tuple, Type, Union, overload
|
||||
from typing import IO, Any, AnyStr, Generic, Iterable, Iterator, Tuple, Type, Union, overload
|
||||
from typing_extensions import Literal
|
||||
|
||||
if sys.version_info >= (3, 9):
|
||||
@@ -304,7 +304,7 @@ class SpooledTemporaryFile(IO[AnyStr]):
|
||||
def isatty(self) -> bool: ...
|
||||
def read(self, n: int = ...) -> AnyStr: ...
|
||||
def readline(self, limit: int = ...) -> AnyStr: ...
|
||||
def readlines(self, hint: int = ...) -> List[AnyStr]: ...
|
||||
def readlines(self, hint: int = ...) -> list[AnyStr]: ...
|
||||
def seek(self, offset: int, whence: int = ...) -> int: ...
|
||||
def tell(self) -> int: ...
|
||||
def truncate(self, size: int | None = ...) -> int: ...
|
||||
|
||||
Reference in New Issue
Block a user