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

This commit is contained in:
Avasam authored and GitHub committed 2023-02-12 16:15:20 +00:00
1 parent 35871f4222
commit a768744d51
8 files changed
+25 -22

No files matched your search

+2 -1
View File
@@ -1,8 +1,9 @@
from typing import Any, TypeVar
from typing_extensions import Final
_T = TypeVar("_T")
__about__: str
__about__: Final[str]
def heapify(__heap: list[Any]) -> None: ...
def heappop(__heap: list[_T]) -> _T: ...