Skip to content

Commit

Permalink
Fix EllipsisType import
Browse files Browse the repository at this point in the history
  • Loading branch information
bwohlberg committed Apr 29, 2022
1 parent 14f1450 commit 9bd0214
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions scico/typing.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,9 @@

try:
# available in python 3.10
from typing import EllipsisType # type: ignore
from types import EllipsisType # type: ignore
except ImportError:
EllipsisType = Any
EllipsisType = Any # type: ignore

import numpy as np

Expand Down

0 comments on commit 9bd0214

Please sign in to comment.