general: move assert_never to my.core.compat as it's in stdlib from 3.11
rely on typing-extensions for fallback introducing typing-extensions dependency without fallback, should be ok since it's in the top 10 of popular packages
This commit is contained in:
parent
1317914bff
commit
8834001fe7
10 changed files with 36 additions and 16 deletions
|
@ -9,7 +9,8 @@ from tempfile import TemporaryDirectory
|
|||
from typing import Tuple, Any, Iterator, Callable, Optional, Union, Literal
|
||||
|
||||
|
||||
from .common import PathIsh, assert_never
|
||||
from .common import PathIsh
|
||||
from .compat import assert_never
|
||||
|
||||
|
||||
def sqlite_connect_immutable(db: PathIsh) -> sqlite3.Connection:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue