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

Commit 1ff993b

Browse files
committed
#16275: trivial commit to use format
1 parent ef0e3e1 commit 1ff993b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/sage/categories/homset.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -358,7 +358,7 @@ def Hom(X, Y, category=None, check=True):
358358
raise TypeError("Argument category (= {}) must be a category.".format(category))
359359
for O in [X, Y]:
360360
if O not in category:
361-
raise TypeError("%s is not in %s"%(O, category))
361+
raise TypeError("{} is not in {}".format(O, category))
362362

363363
# Construct H
364364
try: # _Hom_ hook from the parent

0 commit comments

Comments
 (0)