&lta: Make output nicer for source code

I've made the output nicer for source code.
master
jmjl 2023-10-07 08:57:25 +00:00
parent 5962fd7c12
commit 89c334b9d0
1 changed files with 1 additions and 1 deletions

View File

@ -22,7 +22,7 @@ def last_tilde(msg):
if callable(data):
datax = inspect.getclosurevars(data).nonlocals
if len(datax) == 0:
data = inspect.getsource(data)
data = ' '.join(inspect.getsource(data).rsplit())
else: data = datax
if answer is None:
data = str(data)