mirror of
https://github.com/davidhalter/typeshed.git
synced 2026-10-16 11:01:27 +08:00
1 parent
5e3a96dcaa
commit
e56ae65a49
27 files changed
+170
-75
No files matched your search
@@ -1,3 +1,4 @@
|
||||
import sys
|
||||
from _heapq import *
|
||||
from _typeshed import SupportsRichComparison
|
||||
from collections.abc import Callable, Generator, Iterable
|
||||
@@ -5,6 +6,10 @@ from typing import Any, Final, TypeVar
|
||||
|
||||
__all__ = ["heappush", "heappop", "heapify", "heapreplace", "merge", "nlargest", "nsmallest", "heappushpop"]
|
||||
|
||||
if sys.version_info >= (3, 14):
|
||||
# Added to __all__ in 3.14.1
|
||||
__all__ += ["heapify_max", "heappop_max", "heappush_max", "heappushpop_max", "heapreplace_max"]
|
||||
|
||||
_S = TypeVar("_S")
|
||||
|
||||
__about__: Final[str]
|
||||
|
||||
Reference in new issue
Block a user