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

Commit

Permalink
f-string for unicode_symbol in TensorProductFunctor and SignedTensorP…
Browse files Browse the repository at this point in the history
…roductFunctor
  • Loading branch information
egourgoulhon committed Jun 29, 2021
1 parent 2a23cb5 commit 5d096f1
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/sage/categories/signed_tensor.py
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ class SignedTensorProductFunctor(CovariantFunctorialConstruction):
_functor_name = "tensor"
_functor_category = "SignedTensorProducts"
symbol = " # "
unicode_symbol = " " + unicode_bigotimes + " "
unicode_symbol = f" {unicode_bigotimes} "

def _repr_(self):
"""
Expand Down
2 changes: 1 addition & 1 deletion src/sage/categories/tensor.py
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ class TensorProductFunctor(CovariantFunctorialConstruction):
_functor_name = "tensor"
_functor_category = "TensorProducts"
symbol = " # "
unicode_symbol = " " + unicode_bigotimes + " "
unicode_symbol = f" {unicode_bigotimes} "


tensor = TensorProductFunctor()
Expand Down

0 comments on commit 5d096f1

Please sign in to comment.