mirror of
https://github.com/davidhalter/typeshed.git
synced 2025-12-08 13:04:46 +08:00
Big diff: use lower-case list and dict (#5888)
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
from _typeshed import StrOrBytesPath
|
||||
from types import FrameType, TracebackType
|
||||
from typing import IO, Any, Callable, Dict, List, Optional, Tuple, Type
|
||||
from typing import IO, Any, Callable, Optional, Tuple, Type
|
||||
|
||||
_ExcInfo = Tuple[Optional[Type[BaseException]], Optional[BaseException], Optional[TracebackType]]
|
||||
|
||||
@@ -8,10 +8,10 @@ def reset() -> str: ... # undocumented
|
||||
def small(text: str) -> str: ... # undocumented
|
||||
def strong(text: str) -> str: ... # undocumented
|
||||
def grey(text: str) -> str: ... # undocumented
|
||||
def lookup(name: str, frame: FrameType, locals: Dict[str, Any]) -> Tuple[str | None, Any]: ... # undocumented
|
||||
def lookup(name: str, frame: FrameType, locals: dict[str, Any]) -> Tuple[str | None, Any]: ... # undocumented
|
||||
def scanvars(
|
||||
reader: Callable[[], bytes], frame: FrameType, locals: Dict[str, Any]
|
||||
) -> List[Tuple[str, str | None, Any]]: ... # undocumented
|
||||
reader: Callable[[], bytes], frame: FrameType, locals: dict[str, Any]
|
||||
) -> list[Tuple[str, str | None, Any]]: ... # undocumented
|
||||
def html(einfo: _ExcInfo, context: int = ...) -> str: ...
|
||||
def text(einfo: _ExcInfo, context: int = ...) -> str: ...
|
||||
|
||||
|
||||
Reference in New Issue
Block a user