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

Commit

Permalink
Trac 15801: updated doctest
Browse files Browse the repository at this point in the history
  • Loading branch information
nthiery committed Apr 11, 2014
1 parent 1116ef5 commit 3a63847
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion src/sage/categories/category.py
Original file line number Diff line number Diff line change
Expand Up @@ -2774,7 +2774,7 @@ def _subcategory_hook_(self, category):
EXAMPLE::
sage: QQ['x'].category().is_subcategory(Category.join([Rings(), VectorSpaces(QQ)])) # indirect doctest
sage: QQ['x'].category().is_subcategory(Category.join([Rings(), VectorSpaces(QuotientFields())])) # indirect doctest
True
"""
return all(category.is_subcategory(X) for X in self._super_categories)
Expand Down
4 changes: 2 additions & 2 deletions src/sage/categories/map.pyx
Original file line number Diff line number Diff line change
Expand Up @@ -609,9 +609,9 @@ cdef class Map(Element):
sage: R.<x,y> = QQ[]
sage: f = R.hom([x+y,x-y],R)
sage: f.category_for()
Join of Category of unique factorization domains and Category of commutative algebras over Rational Field
Join of Category of unique factorization domains and Category of commutative algebras over quotient fields
sage: f.category()
Join of Category of hom sets in Category of modules over Rational Field and Category of hom sets in Category of rings
Join of Category of hom sets in Category of modules over quotient fields and Category of hom sets in Category of rings
FIXME: find a better name for this method
"""
Expand Down
2 changes: 1 addition & 1 deletion src/sage/structure/parent.pyx
Original file line number Diff line number Diff line change
Expand Up @@ -1103,7 +1103,7 @@ cdef class Parent(category_object.CategoryObject):
it is a ring, from the point of view of categories::
sage: MS.category()
Category of algebras over Rational Field
Category of algebras over quotient fields
sage: MS in Rings()
True
Expand Down

0 comments on commit 3a63847

Please sign in to comment.