Skip to content

Commit

Permalink
Trac #34324: Fix deprecated import of instancedoc
Browse files Browse the repository at this point in the history
(from https://trac.sagemath.org/ticket/30787#comment:109)

URL: https://trac.sagemath.org/34324
Reported by: mkoeppe
Ticket author(s): Kwankyu Lee
Reviewer(s): Matthias Koeppe
  • Loading branch information
Release Manager committed Aug 28, 2022
2 parents 758ce2c + dc2e766 commit 0b2cecc
Showing 1 changed file with 4 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -116,5 +116,7 @@
# https://www.gnu.org/licenses/
#*****************************************************************************

from sage.misc.lazy_import import lazy_import
lazy_import('sage.misc.instancedoc', 'instancedoc', deprecation=33763)
from sage.misc.superseded import deprecation
deprecation(33763, 'This module is deprecated. Use "sage.misc.instancedoc" instead.')

from sage.misc.instancedoc import instancedoc

0 comments on commit 0b2cecc

Please sign in to comment.