def find_ident(self, name):
if name in self.refdoc:<EOL><INDENT>return self.refdoc[name]<EOL><DEDENT>for module in self.submodules():<EOL><INDENT>o = module.find_ident(name)<EOL>if not isinstance(o, External):<EOL><INDENT>return o<EOL><DEDENT><DEDENT>return External(name)<EOL>
Searches this module and **all** of its sub-modules for an
identifier with name `name` in its list of exported
identifiers according to `pydoc`. Note that unexported
sub-modules are searched.

A bare identifier (without `.` separators) will only be checked
for in this module.

The documentation object corresponding to the identifier is
returned. If one cannot be found, then an instance of
`External` is returned populated with the given identifier.