mirror of
https://github.com/ankitects/anki.git
synced 2025-09-18 22:12:21 -04:00
5 lines
147 B
Python
5 lines
147 B
Python
from typing import NoReturn
|
|
|
|
|
|
def assert_exhaustive(arg: NoReturn) -> NoReturn:
|
|
raise Exception(f"unexpected arg received: {type(arg)} {arg}")
|