Skip to content

Commit

Permalink
fix(py37): import Protocol from typing_extensions
Browse files Browse the repository at this point in the history
  • Loading branch information
CallumJHays committed Oct 17, 2022
1 parent 882c09e commit b8d0e95
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
3 changes: 2 additions & 1 deletion mathpad/algebra.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
from typing import ItemsView, KeysView, Protocol, TypeVar, Union, ValuesView, overload
from typing import ItemsView, KeysView, TypeVar, Union, ValuesView, overload
from typing_extensions import Protocol
import sympy

from mathpad.val import Q, ValT, Val
Expand Down
3 changes: 2 additions & 1 deletion mathpad/codegen.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@


from typing import Any, Callable, ItemsView, KeysView, Protocol, TypeVar, Union, ValuesView, overload
from typing import Any, Callable, ItemsView, KeysView, TypeVar, Union, ValuesView
from typing_extensions import Protocol
from sympy.utilities.lambdify import lambdify
import numpy
from numpy.typing import ArrayLike, NDArray
Expand Down

0 comments on commit b8d0e95

Please sign in to comment.