Skip to content

Commit 7f20558

Browse files
author
Matthias Koeppe
committed
sage.combinat: More # optional
1 parent 6cb95c1 commit 7f20558

File tree

5 files changed

+8
-8
lines changed

5 files changed

+8
-8
lines changed

src/sage/combinat/species/characteristic_species.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -204,7 +204,7 @@ def _cis_term(self, base_ring):
204204
205205
sage: F = species.CharacteristicSpecies(2)
206206
sage: g = F.cycle_index_series() # optional - sage.modules
207-
sage: g[0:5]
207+
sage: g[0:5] # optional - sage.modules
208208
[0, 0, 1/2*p[1, 1] + 1/2*p[2], 0, 0]
209209
"""
210210
cis = SetSpecies(weight=self._weight).cycle_index_series(base_ring)

src/sage/combinat/species/functorial_composition_species.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ def __init__(self, F, G, min=None, max=None, weight=None):
4444
<class 'sage.combinat.species.functorial_composition_species.FunctorialCompositionSpecies'>
4545
sage: G == loads(dumps(G))
4646
True
47-
sage: G._check() #False due to isomorphism types not being implemented
47+
sage: G._check() # False due to isomorphism types not being implemented # optional - sage.modules
4848
False
4949
"""
5050
self._F = F

src/sage/combinat/species/linear_order_species.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ def transport(self, perm):
4444
sage: a = F.structures(["a", "b", "c"])[0]; a
4545
['a', 'b', 'c']
4646
sage: p = PermutationGroupElement((1,2)) # optional - sage.groups
47-
sage: a.transport(p)
47+
sage: a.transport(p) # optional - sage.groups
4848
['b', 'a', 'c']
4949
"""
5050
return LinearOrderSpeciesStructure(self.parent(), self._labels, [perm(i) for i in self._list])
@@ -156,7 +156,7 @@ def _cis_callable(self, base_ring, n):
156156
157157
sage: L = species.LinearOrderSpecies()
158158
sage: g = L.cycle_index_series() # optional - sage.modules
159-
sage: g[0:5]
159+
sage: g[0:5] # optional - sage.modules
160160
[p[], p[1], p[1, 1], p[1, 1, 1], p[1, 1, 1, 1]]
161161
"""
162162
from sage.combinat.sf.sf import SymmetricFunctions

src/sage/combinat/species/species.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -624,11 +624,11 @@ def isotype_generating_series(self, base_ring=None):
624624
sage: g = P.isotype_generating_series()
625625
sage: g[0:4] # optional - sage.libs.flint
626626
[1, 1, 2, 3]
627-
sage: g.counts(4)
627+
sage: g.counts(4) # optional - sage.libs.flint
628628
[1, 1, 2, 3]
629-
sage: P.isotypes([1,2,3]).list()
629+
sage: P.isotypes([1,2,3]).list() # optional - sage.libs.flint
630630
[[2, 3, 1], [2, 1, 3], [1, 2, 3]]
631-
sage: len(_)
631+
sage: len(_) # optional - sage.libs.flint
632632
3
633633
"""
634634
return self._get_series(OrdinaryGeneratingSeriesRing, "itgs", base_ring)

src/sage/combinat/species/structure.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -291,7 +291,7 @@ def canonical_label(self):
291291
sage: P = species.PartitionSpecies()
292292
sage: s = (P+P).structures([1,2,3])[1]; s # optional - sage.libs.flint
293293
{{1, 3}, {2}}
294-
sage: s.canonical_label()
294+
sage: s.canonical_label() # optional - sage.libs.flint
295295
{{1, 2}, {3}}
296296
"""
297297
return self.__class__(self._parent, self._s.canonical_label(), **self._options)

0 commit comments

Comments
 (0)