rootpy/rootpy — pull request #332 by pwaller (2013-06-14 16:38:22+00:00)
Title: Add _DirectoryBase.objects(cls)

Quick helper to allow you to easily iterate over all objects
in a file with a specific type.

Example usage:

$ rootpy browse myfile.root

In [1]: list(f1.objects(R.Directory))
Out[1]: [Directory('mydirectory')]