mirror of
https://github.com/cool-RR/PySnooper.git
synced 2026-07-25 20:03:51 +00:00
repr -> get_shortish_repr
This commit is contained in:
parent
d09b348d96
commit
e1bdbc0042
1 changed files with 1 additions and 1 deletions
|
|
@ -74,7 +74,7 @@ class Keys(CommonVariable):
|
|||
return main_value.keys()
|
||||
|
||||
def _format_key(self, key):
|
||||
return '[{!r}]'.format(key)
|
||||
return '[{}]'.format(get_shortish_repr(key))
|
||||
|
||||
def _get_value(self, main_value, key):
|
||||
return main_value[key]
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue