mirror of
https://github.com/davidhalter/typeshed.git
synced 2025-12-07 04:34:28 +08:00
28 lines
756 B
Python
28 lines
756 B
Python
"""Stub file for the '_heapq' module."""
|
|
# This is an autogenerated file. It serves as a starting point
|
|
# for a more percise manual annotation of this module.
|
|
# Feel free to edit the source below, but remove this header when you do.
|
|
|
|
from typing import List, Tuple, Dict, Undefined, GenericType
|
|
|
|
def heapify(*args, **kwargs) -> None:
|
|
raise TypeError()
|
|
|
|
def heappop(*args, **kwargs) -> object:
|
|
raise IndexError()
|
|
raise TypeError()
|
|
|
|
def heappush(*args, **kwargs) -> None:
|
|
raise TypeError()
|
|
|
|
def heappushpop(*args, **kwargs) -> object:
|
|
raise TypeError()
|
|
|
|
def heapreplace(*args, **kwargs) -> object:
|
|
raise IndexError()
|
|
raise TypeError()
|
|
|
|
def nlargest(a: int, b) -> List[object]: pass
|
|
|
|
def nsmallest(a: int, b) -> List[object]: pass
|