mirror of
https://github.com/cool-RR/PySnooper.git
synced 2026-04-23 03:00:38 -04:00
Fix #14
This commit is contained in:
@@ -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=()):
|
||||
|
||||
Reference in New Issue
Block a user