Type and mark as final module-level dunders not meant to be overwritten in stdlib/ (#9709)

This commit is contained in:
Avasam
2023-02-12 11:15:20 -05:00
committed by GitHub
parent 35871f4222
commit a768744d51
8 changed files with 25 additions and 22 deletions

View File

@@ -2,8 +2,9 @@ from _typeshed import OptExcInfo, StrOrBytesPath
from collections.abc import Callable
from types import FrameType, TracebackType
from typing import IO, Any
from typing_extensions import Final
__UNDEF__: object # undocumented sentinel
__UNDEF__: Final[object] # undocumented sentinel
def reset() -> str: ... # undocumented
def small(text: str) -> str: ... # undocumented