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