We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a753525 commit 4304678Copy full SHA for 4304678
1 file changed
mathics/core/expression.py
@@ -87,6 +87,8 @@ def __str__(self) -> str:
87
88
def from_python(arg):
89
number_type = get_type(arg)
90
+ if arg is None:
91
+ return Symbol('Null')
92
if isinstance(arg, int) or number_type == 'z':
93
return Integer(arg)
94
elif isinstance(arg, float) or number_type == 'f':
0 commit comments