Skip to content

Commit 0b2cecc

Browse files
author
Release Manager
committedAug 28, 2022
Trac #34324: Fix deprecated import of instancedoc
(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
2 parents 758ce2c + dc2e766 commit 0b2cecc

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed
 

‎src/sage/docs/instancedoc.pyx ‎src/sage/docs/instancedoc.py

+4-2
Original file line numberDiff line numberDiff line change
@@ -116,5 +116,7 @@
116116
# https://www.gnu.org/licenses/
117117
#*****************************************************************************
118118

119-
from sage.misc.lazy_import import lazy_import
120-
lazy_import('sage.misc.instancedoc', 'instancedoc', deprecation=33763)
119+
from sage.misc.superseded import deprecation
120+
deprecation(33763, 'This module is deprecated. Use "sage.misc.instancedoc" instead.')
121+
122+
from sage.misc.instancedoc import instancedoc

0 commit comments

Comments
 (0)
Please sign in to comment.