Skip to content

Commit d7656a8

Browse files
committed
Fixing trivial doctest failures due to updates to category hierarchy.
1 parent 8a02c64 commit d7656a8

File tree

3 files changed

+7
-6
lines changed

3 files changed

+7
-6
lines changed

src/sage/categories/filtered_modules_with_basis.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -277,7 +277,7 @@ def hilbert_series(self, prec=None):
277277
EXAMPLES::
278278
279279
sage: A = GradedModulesWithBasis(ZZ).example()
280-
sage: H = A.hilbert_series()
280+
sage: A.hilbert_series()
281281
1 + t + 2*t^2 + 3*t^3 + 5*t^4 + 7*t^5 + 11*t^6 + O(t^7)
282282
sage: A.hilbert_series(10)
283283
1 + t + 2*t^2 + 3*t^3 + 5*t^4 + 7*t^5 + 11*t^6 + 15*t^7 + 22*t^8 + 30*t^9 + O(t^10)

src/sage/categories/finite_dimensional_graded_lie_algebras_with_basis.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,7 @@ class FiniteDimensionalGradedLieAlgebrasWithBasis(CategoryWithAxiom_over_base_ri
3232
Category of finite dimensional graded Lie algebras with basis over Integer Ring
3333
sage: C.super_categories()
3434
[Category of graded Lie algebras with basis over Integer Ring,
35+
Category of finite dimensional filtered modules with basis over Integer Ring,
3536
Category of finite dimensional Lie algebras with basis over Integer Ring]
3637
3738
sage: C is LieAlgebras(ZZ).WithBasis().FiniteDimensional().Graded()

src/sage/categories/graded_modules_with_basis.py

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -122,7 +122,7 @@ def submodule(self, gens, check=True, already_echelonized=False,
122122
Join of
123123
Category of graded vector spaces with basis over Rational Field and
124124
Category of subobjects of filtered modules with basis over Rational Field and
125-
Category of finite dimensional vector spaces with basis over Rational Field
125+
Category of finite dimensional filtered modules with basis over Rational Field
126126
sage: S.basis()[0].degree()
127127
1
128128
sage: S.basis()[1].degree()
@@ -135,7 +135,7 @@ def submodule(self, gens, check=True, already_echelonized=False,
135135
Join of
136136
Category of graded vector spaces with basis over Rational Field and
137137
Category of subobjects of filtered modules with basis over Rational Field and
138-
Category of finite dimensional vector spaces with basis over Rational Field
138+
Category of finite dimensional filtered modules with basis over Rational Field
139139
140140
If it is generated by inhomogeneous elements, then it is
141141
filtered by default::
@@ -144,8 +144,8 @@ def submodule(self, gens, check=True, already_echelonized=False,
144144
sage: F.category() # needs sage.combinat sage.modules
145145
Join of
146146
Category of subobjects of filtered modules with basis over Rational Field and
147-
Category of filtered vector spaces with basis over Rational Field and
148-
Category of finite dimensional vector spaces with basis over Rational Field
147+
Category of finite dimensional filtered modules with basis over Rational Field and
148+
Category of filtered vector spaces with basis over Rational Field
149149
150150
If ``category`` is specified, then it does not give any extra
151151
structure to the submodule (we can think of this as applying
@@ -233,7 +233,7 @@ def quotient_module(self, submodule, check=True, already_echelonized=False, cate
233233
Join of
234234
Category of quotients of graded modules with basis over Rational Field and
235235
Category of graded vector spaces with basis over Rational Field and
236-
Category of finite dimensional vector spaces with basis over Rational Field
236+
Category of finite dimensional filtered modules with basis over Rational Field
237237
238238
.. SEEALSO::
239239

0 commit comments

Comments
 (0)