mirror of
https://github.com/cool-RR/PySnooper.git
synced 2026-07-18 00:45:19 +00:00
Fix #14
This commit is contained in:
parent
2c8c74903d
commit
e4483bc310
1 changed files with 1 additions and 1 deletions
|
|
@ -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=()):
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue