Merge branch 'master' of github.com:nedbat/pudb into vis
This commit is contained in:
commit
a0245474fd
@ -287,6 +287,17 @@ class ValueWalker:
|
|||||||
displayed_value = type_stringifier(value) \
|
displayed_value = type_stringifier(value) \
|
||||||
+ " (!! %s error !!)" % iinfo.display_type
|
+ " (!! %s error !!)" % iinfo.display_type
|
||||||
|
|
||||||
|
if iinfo.show_detail:
|
||||||
|
if iinfo.access_level == "public":
|
||||||
|
marker = "pub"
|
||||||
|
elif iinfo.access_level == "private":
|
||||||
|
marker = "pri"
|
||||||
|
else:
|
||||||
|
marker = "all"
|
||||||
|
if iinfo.show_methods:
|
||||||
|
marker += "+()"
|
||||||
|
displayed_value += " [%s]" % marker
|
||||||
|
|
||||||
self.add_item(prefix, label,
|
self.add_item(prefix, label,
|
||||||
displayed_value, id_path, attr_prefix)
|
displayed_value, id_path, attr_prefix)
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user