mirror of
https://github.com/davidhalter/typeshed.git
synced 2025-12-09 21:46:42 +08:00
Big diff: use lower-case list and dict (#5888)
This commit is contained in:
@@ -1,9 +1,9 @@
|
||||
from typing import Any, List, TypeVar
|
||||
from typing import Any, TypeVar
|
||||
|
||||
_T = TypeVar("_T")
|
||||
|
||||
def heapify(__heap: List[Any]) -> None: ...
|
||||
def heappop(__heap: List[_T]) -> _T: ...
|
||||
def heappush(__heap: List[_T], __item: _T) -> None: ...
|
||||
def heappushpop(__heap: List[_T], __item: _T) -> _T: ...
|
||||
def heapreplace(__heap: List[_T], __item: _T) -> _T: ...
|
||||
def heapify(__heap: list[Any]) -> None: ...
|
||||
def heappop(__heap: list[_T]) -> _T: ...
|
||||
def heappush(__heap: list[_T], __item: _T) -> None: ...
|
||||
def heappushpop(__heap: list[_T], __item: _T) -> _T: ...
|
||||
def heapreplace(__heap: list[_T], __item: _T) -> _T: ...
|
||||
|
||||
Reference in New Issue
Block a user