'Find class and module-level attributes and their documentation.'

def find_attr_docs(self, scope=''):

    if (self.attr_docs is not None):
        return self.attr_docs
    self.parse()
    attr_visitor = AttrDocVisitor(number2name, scope, self.encoding)
    attr_visitor.visit(self.parsetree)
    self.attr_docs = attr_visitor.collected
    self.parsetree = None
    return attr_visitor.collected
