File tree Expand file tree Collapse file tree 1 file changed +2
-3
lines changed
Expand file tree Collapse file tree 1 file changed +2
-3
lines changed Original file line number Diff line number Diff line change 1919
2020from mathics .core .parser import FileLineFeeder
2121from mathics .core .definitions import Definitions
22- from mathics .core .expression import Symbol
22+ from mathics .core .expression import Symbol , SymbolTrue , SymbolFalse
2323from mathics .core .evaluation import Evaluation , Output
2424from mathics .core .expression import from_python
2525from mathics import version_string , license_string
@@ -299,8 +299,7 @@ def main(
299299 print (f"Quit by pressing { quit_command } \n " )
300300
301301 # If defined, full_form and style overwrite the predefined values.
302- if full_form :
303- definitions .set_ownvalue ("Settings`$ShowFullFormInput" , from_python (full_form ))
302+ definitions .set_ownvalue ("Settings`$ShowFullFormInput" , SymbolTrue if full_form else SymbolFalse )
304303
305304 definitions .set_ownvalue (
306305 "Settings`$PygmentsStyle" , from_python (shell .pygments_style )
You can’t perform that action at this time.
0 commit comments