Skip to content

Commit

Permalink
Merge branch 'master' of github.com:nedbat/pudb into vis
Browse files Browse the repository at this point in the history
  • Loading branch information
inducer committed May 25, 2015
2 parents fcacb18 + 7ab7f02 commit a024547
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions pudb/var_view.py
Expand Up @@ -287,6 +287,17 @@ def walk_value(self, prefix, label, value, id_path=None, attr_prefix=None):
displayed_value = type_stringifier(value) \
+ " (!! %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,
displayed_value, id_path, attr_prefix)

Expand Down

0 comments on commit a024547

Please sign in to comment.