Skip to content

Commit

Permalink
fix: cannot import 'Literal' from 'typing' in py3.7 (pt2)
Browse files Browse the repository at this point in the history
  • Loading branch information
CallumJHays committed Oct 5, 2022
1 parent 8c96b68 commit a3877d7
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
4 changes: 2 additions & 2 deletions mathpad/vector.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@

from typing import Generic, Iterable, Literal, Sequence, Union, Any, TypeVar
from typing_extensions import Self
from typing import Generic, Iterable, Sequence, Union, Any, TypeVar
from typing_extensions import Self, Literal

from sympy.physics.vector import vlatex
from sympy import MatrixSymbol, Matrix, MatrixExpr
Expand Down
1 change: 0 additions & 1 deletion mathpad/vector_space.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
from typing import (
TYPE_CHECKING,
Callable,
Type,
Union,
Tuple,
Generic,
Expand Down

0 comments on commit a3877d7

Please sign in to comment.