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

Commit afd661a

Browse files
author
Matthias Koeppe
committed
src/sage/tensor/modules: Add missing 'from __future__ import annotations'
1 parent 196f705 commit afd661a

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

src/sage/tensor/modules/finite_rank_free_module.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -529,7 +529,7 @@ class :class:`~sage.modules.free_module.FreeModule_generic`
529529
# the License, or (at your option) any later version.
530530
# https://www.gnu.org/licenses/
531531
#******************************************************************************
532-
from __future__ import absolute_import
532+
from __future__ import annotations
533533

534534
from typing import Generator, Optional
535535

src/sage/tensor/modules/format_utilities.py

+1
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@
2020
# the License, or (at your option) any later version.
2121
# http://www.gnu.org/licenses/
2222
#******************************************************************************
23+
from __future__ import annotations
2324

2425
from sage.misc.latex import LatexExpr
2526
from sage.structure.sage_object import SageObject

0 commit comments

Comments
 (0)