summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTravis Scrimshaw <tscrimsh at umn.edu>2015-10-16 20:21:19 -0500
committerTravis Scrimshaw <tscrimsh at umn.edu>2015-10-16 20:21:19 -0500
commitf8f5b93028708eebb745a1cc92f3b775a760108b (patch)
treed799a2942f3ccf5ef73deeb042118c3ea7a2de3f
parentMerge branch 'develop' into public/categories/topological_metric_spaces-18175 (diff)
Fixing last remaining doctests.
-rw-r--r--src/sage/algebras/clifford_algebra.py4
-rw-r--r--src/sage/categories/morphism.pyx5
-rw-r--r--src/sage/misc/functional.py2
-rw-r--r--src/sage/rings/rational_field.py2
4 files changed, 8 insertions, 5 deletions
diff --git a/src/sage/algebras/clifford_algebra.py b/src/sage/algebras/clifford_algebra.py
index bb88f5e..ded7d32 100644
--- a/src/sage/algebras/clifford_algebra.py
+++ b/src/sage/algebras/clifford_algebra.py
@@ -524,8 +524,8 @@ class CliffordAlgebra(CombinatorialFreeModule):
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:
diff --git a/src/sage/categories/morphism.pyx b/src/sage/categories/morphism.pyx
index a6c3574..a76d6ab 100644
--- a/src/sage/categories/morphism.pyx
+++ b/src/sage/categories/morphism.pyx
@@ -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)
diff --git a/src/sage/misc/functional.py b/src/sage/misc/functional.py
index 607cca3..d83e226 100644
--- a/src/sage/misc/functional.py
+++ b/src/sage/misc/functional.py
@@ -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()
diff --git a/src/sage/rings/rational_field.py b/src/sage/rings/rational_field.py
index 8b5794f..aefba90 100644
--- a/src/sage/rings/rational_field.py
+++ b/src/sage/rings/rational_field.py
@@ -154,7 +154,7 @@ class RationalField(Singleton, number_field_base.NumberField):
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