diff --git a/src/sage/combinat/crystals/fully_commutative_stable_grothendieck.py b/src/sage/combinat/crystals/fully_commutative_stable_grothendieck.py index 45ddd5b9eb1..10e7ce52d18 100644 --- a/src/sage/combinat/crystals/fully_commutative_stable_grothendieck.py +++ b/src/sage/combinat/crystals/fully_commutative_stable_grothendieck.py @@ -385,6 +385,7 @@ def _repr_(self): EXAMPLES:: + sage: from sage.monoids.hecke_monoid import HeckeMonoid sage: H = HeckeMonoid(SymmetricGroup(3+1)) sage: w = H.from_reduced_word([2,1,3,2]) sage: crystals.FullyCommutativeStableGrothendieck(w,3,1) @@ -441,7 +442,7 @@ def e(self, i): EXAMPLES:: - from sage.monoids.hecke_monoid import HeckeMonoid + sage: from sage.monoids.hecke_monoid import HeckeMonoid sage: H = HeckeMonoid(SymmetricGroup(4+1)) sage: w = H.from_reduced_word([2,1,4,3,2]) sage: B = crystals.FullyCommutativeStableGrothendieck(w,4,3) @@ -476,7 +477,7 @@ def f(self, i): EXAMPLES:: - from sage.monoids.hecke_monoid import HeckeMonoid + sage: from sage.monoids.hecke_monoid import HeckeMonoid sage: H = HeckeMonoid(SymmetricGroup(4+1)) sage: w = H.from_reduced_word([3,2,1,4,3]) sage: B = crystals.FullyCommutativeStableGrothendieck(w,4,3) @@ -511,7 +512,7 @@ def bracketing(self,i): EXAMPLES:: - from sage.monoids.hecke_monoid import HeckeMonoid + sage: from sage.monoids.hecke_monoid import HeckeMonoid sage: H = HeckeMonoid(SymmetricGroup(4+1)) sage: w = H.from_reduced_word([3,2,1,4,3]) sage: B = crystals.FullyCommutativeStableGrothendieck(w,3,2) @@ -654,12 +655,6 @@ def _canonical_word(w, ex): """ Return a standard word equivalent to ``w`` in a 0-Hecke monoid whose excess is ``ex``. - - EXAMPLES:: - - sage: w = [1,2,1] - sage: v = _canonical_word(w,2); v - [1, 1, 1, 2, 1] """ L = list(w) return [L[0]]*ex + L