Skip to content

Commit

Permalink
fixed missing filtering of builtin method types
Browse files Browse the repository at this point in the history
  • Loading branch information
uweschmitt committed Jun 16, 2014
1 parent fee0eab commit aba01d8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion qt_object_viewer/tree.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ def interesting_attributes(obj):
value = getattr(obj, name)
if name.startswith("_"):
continue
if isinstance(value, types.MethodType):
if isinstance(value, (types.MethodType, types.BuiltinMethodType, types.UnboundMethodType)):
continue
yield name, value

Expand Down

0 comments on commit aba01d8

Please sign in to comment.