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

Commit da8893f

Browse files
committed
Use sage.typeset.unicode_characters in TensorProductFunctor and SignedTensorProductFunctor
1 parent 4e13ffa commit da8893f

File tree

3 files changed

+5
-3
lines changed

3 files changed

+5
-3
lines changed

src/sage/categories/signed_tensor.py

+2-1
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@
1414
# ****************************************************************************
1515

1616
from sage.categories.covariant_functorial_construction import CovariantFunctorialConstruction, CovariantConstructionCategory
17+
from sage.typeset.unicode_characters import unicode_bigotimes
1718

1819

1920
class SignedTensorProductFunctor(CovariantFunctorialConstruction):
@@ -55,7 +56,7 @@ class SignedTensorProductFunctor(CovariantFunctorialConstruction):
5556
_functor_name = "tensor"
5657
_functor_category = "SignedTensorProducts"
5758
symbol = " # "
58-
unicode_symbol = " "
59+
unicode_symbol = " " + unicode_bigotimes + " "
5960

6061
def _repr_(self):
6162
"""

src/sage/categories/tensor.py

+2-1
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@
1414
# ****************************************************************************
1515

1616
from sage.categories.covariant_functorial_construction import CovariantFunctorialConstruction, CovariantConstructionCategory
17+
from sage.typeset.unicode_characters import unicode_bigotimes
1718

1819

1920
class TensorProductFunctor(CovariantFunctorialConstruction):
@@ -50,7 +51,7 @@ class TensorProductFunctor(CovariantFunctorialConstruction):
5051
_functor_name = "tensor"
5152
_functor_category = "TensorProducts"
5253
symbol = " # "
53-
unicode_symbol = " "
54+
unicode_symbol = " " + unicode_bigotimes + " "
5455

5556

5657
tensor = TensorProductFunctor()

src/sage/typeset/unicode_characters.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
r"""
2-
Unicode characters
2+
Unicode Characters
33
44
This module provides Python identifiers for Unicode characters corresponding
55
to various mathematical symbols.

0 commit comments

Comments
 (0)