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

Commit 23639a9

Browse files
Fix more typos
1 parent 5416ba0 commit 23639a9

File tree

2 files changed

+7
-7
lines changed

2 files changed

+7
-7
lines changed

src/sage/categories/homset.py

+3-3
Original file line numberDiff line numberDiff line change
@@ -938,14 +938,14 @@ class of ``C`` will be inherited by *all* subcategories of
938938
939939
EXAMPLES:
940940
941-
Let's take a homset of finite commutative group as example; at
941+
Let's take a homset of finite commutative groups as example; at
942942
this point this is the simplest one to create (gosh)::
943943
944944
sage: cat = Groups().Finite().Commutative()
945945
sage: C3 = PermutationGroup([(1,2,3)])
946-
sage: C3._refine_category_(Groups().Finite().Commutative())
946+
sage: C3._refine_category_(cat)
947947
sage: C2 = PermutationGroup([(1,2)])
948-
sage: C2._refine_category_(Groups().Finite().Commutative())
948+
sage: C2._refine_category_(cat)
949949
sage: H = Hom(C3, C2, cat)
950950
sage: H.homset_category()
951951
Category of finite commutative groups

src/sage/categories/homsets.py

+4-4
Original file line numberDiff line numberDiff line change
@@ -135,10 +135,10 @@ class HomsetsOf(HomsetsCategory):
135135
Default class for homsets of a category.
136136
137137
This is used when a category `C` defines some additional structure
138-
but not an homset category of its own. Indeed, unlike for
139-
covariant functorial constructions, we cannot represent the homset
140-
category of `C` by just the join of the homset categories of its
141-
super categories.
138+
but not a homset category of its own. Indeed, unlike for covariant
139+
functorial constructions, we cannot represent the homset category
140+
of `C` by just the join of the homset categories of its super
141+
categories.
142142
143143
EXAMPLES::
144144

0 commit comments

Comments
 (0)