else:
for line in lines:
evaluation.print_out(Expression("InputForm", line))
return Symbol("Null")
// It would be deserable to call here the routine inside Definition, but for some reason it fails...
// Instead, I just copy the code from Definition
After Change
lines = []
if isinstance(symbol, String):
evaluation.print_out(symbol)
return ret
if not isinstance(symbol, Symbol):
evaluation.message("Information", "notfound", symbol)
return ret
// Print the "usage" message if available.
usagetext = _get_usage_string(symbol, evaluation)
if usagetext is not None:
lines.append(usagetext)