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

Commit 34cd475

Browse files
committed
trac 28594 fix doctests
1 parent d6feb97 commit 34cd475

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

src/sage/categories/homset.py

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@
4747
4848
- Simon King (2013-02): added examples
4949
"""
50-
#*****************************************************************************
50+
# ****************************************************************************
5151
# Copyright (C) 2005 David Kohel <[email protected]>, William Stein <[email protected]>
5252
#
5353
# Distributed under the terms of the GNU General Public License (GPL)
@@ -59,8 +59,8 @@
5959
# See the GNU General Public License for more details; the full text
6060
# is available at:
6161
#
62-
# http://www.gnu.org/licenses/
63-
#*****************************************************************************
62+
# https://www.gnu.org/licenses/
63+
# ****************************************************************************
6464

6565
from __future__ import absolute_import, print_function
6666

@@ -897,13 +897,13 @@ def _element_constructor_(self, x, check=None, **options):
897897
...
898898
TypeError: unable to convert 0 to an element of
899899
Set of Morphisms from Free Group on generators {x, y, z}
900-
to Free Group on generators {x, y, z} in Category of groups
900+
to Free Group on generators {x, y, z} in Category of infinite groups
901901
sage: H("whatever")
902902
Traceback (most recent call last):
903903
...
904904
TypeError: unable to convert 'whatever' to an element of
905905
Set of Morphisms from Free Group on generators {x, y, z}
906-
to Free Group on generators {x, y, z} in Category of groups
906+
to Free Group on generators {x, y, z} in Category of infinite groups
907907
sage: HH = Hom(H, H)
908908
sage: HH(HH.identity(), foo="bar")
909909
Traceback (most recent call last):

src/sage/groups/libgap_wrapper.pyx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -189,7 +189,7 @@ class ParentLibGAP(SageObject):
189189
sage: F.<a,b> = FreeGroup()
190190
sage: F.Hom(F)
191191
Set of Morphisms from Free Group on generators {a, b}
192-
to Free Group on generators {a, b} in Category of groups
192+
to Free Group on generators {a, b} in Category of infinite groups
193193
"""
194194
from sage.groups.libgap_morphism import GroupHomset_libgap
195195
return GroupHomset_libgap(self, G, category=category, check=check)

0 commit comments

Comments
 (0)