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

Commit

Permalink
Fixing last remaining doctests.
Browse files Browse the repository at this point in the history
  • Loading branch information
Travis Scrimshaw committed Oct 17, 2015
1 parent 8b851a0 commit f8f5b93
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 5 deletions.
4 changes: 2 additions & 2 deletions src/sage/algebras/clifford_algebra.py
Original file line number Diff line number Diff line change
Expand Up @@ -524,8 +524,8 @@ def __init__(self, Q, names, category=None):
sage: Q = QuadraticForm(ZZ, 3, [1,2,3,4,5,6])
sage: Cl = CliffordAlgebra(Q)
sage: Cl.category()
Category of finite dimensional super algebras with basis
over (euclidean domains and infinite enumerated sets)
Category of finite dimensional super algebras with basis over
(euclidean domains and infinite enumerated sets and metric spaces)
sage: TestSuite(Cl).run()
TESTS:
Expand Down
5 changes: 4 additions & 1 deletion src/sage/categories/morphism.pyx
Original file line number Diff line number Diff line change
Expand Up @@ -162,7 +162,10 @@ cdef class Morphism(Map):
sage: R.<t> = ZZ[]
sage: f = R.hom([t**2])
sage: f.category()
Category of endsets of unital magmas and right modules over (euclidean domains and infinite enumerated sets) and left modules over (euclidean domains and infinite enumerated sets)
Category of endsets of unital magmas and right modules over
(euclidean domains and infinite enumerated sets and metric spaces)
and left modules over (euclidean domains
and infinite enumerated sets and metric spaces)
sage: K = CyclotomicField(12)
sage: L = CyclotomicField(132)
Expand Down
2 changes: 1 addition & 1 deletion src/sage/misc/functional.py
Original file line number Diff line number Diff line change
Expand Up @@ -124,7 +124,7 @@ def category(x):
sage: V = VectorSpace(QQ,3)
sage: category(V)
Category of vector spaces with basis over quotient fields
Category of vector spaces with basis over (quotient fields and metric spaces)
"""
try:
return x.category()
Expand Down
2 changes: 1 addition & 1 deletion src/sage/rings/rational_field.py
Original file line number Diff line number Diff line change
Expand Up @@ -154,7 +154,7 @@ def __init__(self):
sage: Q.is_field()
True
sage: Q.category()
Category of quotient fields
Join of Category of quotient fields and Category of metric spaces
sage: Q.zeta()
-1
Expand Down

0 comments on commit f8f5b93

Please sign in to comment.