'#OBSOLETE
$HP.dir(opts: str+])-> GuppyDir
$HP.dir(opts: str+]).<attribute> -> GuppyDoc
A replacement for the builtin function dir(), providing a listing of
public attributes for Heapy objects. It also has an attribute for each
item in the listing, for example:
>>> $HP.dir().heap
returns a GuppyDoc object providing documentation for the heap
method. The method also takes a string argument specifying further
options. Currently the following are provided:
\'l\'     Generate a listing of the synopsis lines.
\'L\'     Generate a listing of the entire doc strings.'

def Ddir(self, opts=''):

    obj = self
    return self._root.guppy.etc.Help.dir(obj, opts)
