Skip to content

Commit

Permalink
import runtime_checkable from typing_extensions instead of typing to …
Browse files Browse the repository at this point in the history
…be compatible with Python 3.7
  • Loading branch information
biphasic committed Dec 30, 2022
1 parent 41c02e1 commit a489ba8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tonic/slicers.py
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
from dataclasses import dataclass
from typing import Any, List, Tuple, runtime_checkable
from typing import Any, List, Tuple

import numpy as np
from typing_extensions import Protocol
from typing_extensions import Protocol, runtime_checkable


@runtime_checkable
Expand Down

0 comments on commit a489ba8

Please sign in to comment.