This commit is contained in:
Ram Rachum
2019-04-23 10:15:15 +03:00
parent 2c8c74903d
commit e4483bc310

View File

@@ -12,7 +12,7 @@ import six
def get_shortish_repr(item):
r = repr(item)
if len(r) > 100:
r = '{r[:97]}...'.format(**locals())
r = '{truncated_r}...'.format(truncated_r=r[:97])
return r
def get_local_reprs(frame, variables=()):