Special type indicating that a function never returns.
typing.NoReturn
from typing import NoReturn def stop() -> NoReturn: raise RuntimeError('no way')