Skip to content

Commit 2870ffb

Browse files
author
Matthias Koeppe
committed
src/sage/interfaces/sage0.py: Hide a legitimate .all import from relint
1 parent 21148e5 commit 2870ffb

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/sage/interfaces/sage0.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -159,7 +159,8 @@ def __init__(self,
159159
if python:
160160
command = 'python -u'
161161
prompt = re.compile(b'>>> ')
162-
init_code.append('from sage.all import *')
162+
environment = 'sage.all'
163+
init_code.append(f'from {environment} import *')
163164
else:
164165
command = ' '.join([
165166
'sage-ipython',

0 commit comments

Comments
 (0)