]> gitweb.michael.orlitzky.com - sage.d.git/commitdiff
mjo/symbol_sequence.py: don't import from sage.all
authorMichael Orlitzky <michael@orlitzky.com>
Fri, 22 Nov 2024 20:14:15 +0000 (15:14 -0500)
committerMichael Orlitzky <michael@orlitzky.com>
Fri, 22 Nov 2024 20:14:15 +0000 (15:14 -0500)
mjo/symbol_sequence.py

index 2a104aed958d877103e1962f1ad212e2ab07c981..1437506da879481352169ddb945664b99200b7b8 100644 (file)
@@ -1,5 +1,3 @@
-from sage.all import *
-
 class SymbolSequence:
     r"""
     An iterable object which acts like a sequence of symbolic
@@ -137,6 +135,8 @@ class SymbolSequence:
         """
         # Allow creating unnamed symbols, for consistency with
         # SR.symbol().
+        from sage.symbolic.ring import SR
+
         name = None
         if self._name is not None:
             name = '%s_%d' % (self._name, subscript)