@singledispatch
def verify(stub: nodes.Node, runtime: MaybeMissing[Any], object_path: List[str]) -> Iterator[Error]:
    'Entry point for comparing a stub to a runtime object.\n\n    We use single dispatch based on the type of ``stub``.\n\n    :param stub: The mypy node representing a part of the stub\n    :param runtime: The runtime object corresponding to ``stub``\n\n    '
    (yield Error(object_path, 'is an unknown mypy node', stub, runtime))
Entry point for comparing a stub to a runtime object.

We use single dispatch based on the type of ``stub``.

:param stub: The mypy node representing a part of the stub
:param runtime: The runtime object corresponding to ``stub``
@singledispatch
def verify(stub: nodes.Node, runtime: MaybeMissing[Any], object_path: List[str]) -> Iterator[Error]:
    'Entry point for comparing a stub to a runtime object.\n\n    We use single dispatch based on the type of ``stub``.\n\n    :param stub: The mypy node representing a part of the stub\n    :param runtime: The runtime object corresponding to ``stub``\n\n    '
    (yield Error(object_path, 'is an unknown mypy node', stub, runtime))