typehints/stdlib/heapq.pyi [20:42]:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
__author__ = "Howard C Lovatt"
__copyright__ = "Howard C Lovatt, 2020 onwards."
__license__ = "MIT https://opensource.org/licenses/MIT (as used by MicroPython)."
__version__ = "7.3.0"  # Version set by https://github.com/hlovatt/tag2ver

from typing import TypeVar, Any, Final

_T: Final = TypeVar("_T")

def heappush(heap: list[_T], item: _T, /) -> None:
    """
   Push the ``item`` onto the ``heap``.
   """

def heappop(heap: list[_T], /) -> _T:
    """
   Pop the first item from the ``heap``, and return it.  Raise ``IndexError`` if
   ``heap`` is empty.
   
   The returned item will be the smallest item in the ``heap``.
   """

def heapify(x: list[Any], /) -> None:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -



typehints/stdlib/uheapq.pyi [20:42]:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
__author__ = "Howard C Lovatt"
__copyright__ = "Howard C Lovatt, 2020 onwards."
__license__ = "MIT https://opensource.org/licenses/MIT (as used by MicroPython)."
__version__ = "7.3.0"  # Version set by https://github.com/hlovatt/tag2ver

from typing import TypeVar, Any, Final

_T: Final = TypeVar("_T")

def heappush(heap: list[_T], item: _T, /) -> None:
    """
   Push the ``item`` onto the ``heap``.
   """

def heappop(heap: list[_T], /) -> _T:
    """
   Pop the first item from the ``heap``, and return it.  Raise ``IndexError`` if
   ``heap`` is empty.
   
   The returned item will be the smallest item in the ``heap``.
   """

def heapify(x: list[Any], /) -> None:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -



