Skip to content
This repository has been archived by the owner on Jan 30, 2023. It is now read-only.

Commit

Permalink
src/sage/tensor/modules/format_utilities.py: Conditionalize an import…
Browse files Browse the repository at this point in the history
… with 'if TYPE_CHECKING:'
  • Loading branch information
Matthias Koeppe committed Mar 21, 2022
1 parent 71138ff commit 2527267
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion src/sage/tensor/modules/format_utilities.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,9 +22,13 @@
#******************************************************************************
from __future__ import annotations

from sage.misc.latex import LatexExpr
from typing import TYPE_CHECKING

from sage.structure.sage_object import SageObject

if TYPE_CHECKING:
from sage.misc.latex import LatexExpr


def is_atomic(expr, sep=['+', '-']):
r"""
Expand Down

0 comments on commit 2527267

Please sign in to comment.