Skip to content

Commit

Permalink
Update impl.py
Browse files Browse the repository at this point in the history
  • Loading branch information
cthoyt committed Nov 15, 2024
1 parent ff35bbc commit 194fb61
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions src/pystow/impl.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@
import os
import pickle
import sqlite3
import sys
import tarfile
import zipfile
from contextlib import closing, contextmanager
Expand Down Expand Up @@ -49,10 +50,10 @@
read_zipfile_csv,
)

try:
from typing import TypeAlias
except ImportError:
if sys.version_info <= (3, 9):
from typing_extensions import TypeAlias
else:
from typing import TypeAlias

if TYPE_CHECKING:
import botocore.client
Expand Down

0 comments on commit 194fb61

Please sign in to comment.