Skip to content

Commit

Permalink
Re #4311. Return the methods of the proxied object.
Browse files Browse the repository at this point in the history
This helps tab-completion in IPython return the methods that we want to see.
  • Loading branch information
RussellTaylor committed Oct 24, 2013
1 parent b70f3c2 commit c666845
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions Code/Mantid/MantidPlot/mantidplotpy/proxies.py
Original file line number Diff line number Diff line change
Expand Up @@ -163,6 +163,9 @@ def __getattr__(self, attr):
callable = getattr(self._getHeldObject(), attr)
return CrossThreadCall(callable)

def __dir__(self):
return dir(self._getHeldObject())

def __str__(self):
"""
Return a string representation of the proxied object
Expand Down

0 comments on commit c666845

Please sign in to comment.