'Return a string containing a pretty-printed representation of
the given verbnet class.
:param vnclass: A verbnet class identifier; or an ElementTree
containing the xml contents of a verbnet class.'

def pprint(self, vnclass):

    if isinstance(vnclass, string_types):
        vnclass = self.vnclass(vnclass)
    s = (vnclass.get(u'ID') + u'\n')
    s += (self.pprint_subclasses(vnclass, indent=u'        ') + u'\n')
    s += (self.pprint_members(vnclass, indent=u'        ') + u'\n')
    s += u'        Thematic    roles:\n'
    s += (self.pprint_themroles(vnclass, indent=u'                ') + u'\n')
    s += u'        Frames:\n'
    s += u'\n'.join((self.pprint_frame(vnframe, indent=u'                ') for vnframe in vnclass.findall(u'FRAMES/FRAME')))
    return s
