diff --git a/src/doc/en/reference/combinat/module_list.rst b/src/doc/en/reference/combinat/module_list.rst index fddfaab81e4..bf04eb0e58d 100644 --- a/src/doc/en/reference/combinat/module_list.rst +++ b/src/doc/en/reference/combinat/module_list.rst @@ -125,7 +125,6 @@ Comprehensive Module list sage/combinat/k_tableau sage/combinat/kazhdan_lusztig sage/combinat/knutson_tao_puzzles - sage/combinat/lyndon_word sage/combinat/matrices/__init__ sage/combinat/matrices/all sage/combinat/matrices/dancing_links @@ -326,6 +325,7 @@ Comprehensive Module list sage/combinat/words/alphabet sage/combinat/words/finite_word sage/combinat/words/infinite_word + sage/combinat/words/lyndon_word sage/combinat/words/morphism sage/combinat/words/paths sage/combinat/words/shuffle_product diff --git a/src/sage/combinat/lyndon_word.py b/src/sage/combinat/lyndon_word.py index 876152664b6..bff8276243c 100644 --- a/src/sage/combinat/lyndon_word.py +++ b/src/sage/combinat/lyndon_word.py @@ -2,13 +2,11 @@ Lyndon Word This module has been moved to sage.combinat.words. It should be called from there. -""" - -from sage.misc.lazy_import import lazy_import -lazy_import('sage.combinat.words.lyndon_word', '*', deprecation=19150) -""" TESTS:: -sage: from sage.combinat.lyndon_word import * + sage: from sage.combinat.lyndon_word import LyndonWord """ + +from sage.misc.lazy_import import lazy_import +lazy_import('sage.combinat.words.lyndon_word', '*', deprecation=19150)