Skip to content
This repository has been archived by the owner on Jan 30, 2023. It is now read-only.

Commit

Permalink
src/sage/all_cmdline.py: Do not use lazy_import for predefined x
Browse files Browse the repository at this point in the history
  • Loading branch information
Matthias Koeppe committed Dec 18, 2022
1 parent 0810d7a commit 2d7dd53
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions src/sage/all_cmdline.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,10 @@
sage_mode = 'cmdline'

from sage.all import *
from sage.misc.lazy_import import lazy_import
lazy_import("sage.calculus.predefined", "x")

try:
from sage.calculus.predefined import x
except ImportError:
pass

sage.misc.session.init()

0 comments on commit 2d7dd53

Please sign in to comment.