mirror of
https://github.com/davidhalter/typeshed.git
synced 2025-12-09 21:46:42 +08:00
Type and mark as final module-level dunders not meant to be overwritten in stdlib/ (#9709)
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user