'Get the real module name of an object to document.  (It can differ
from the name of the module through which the object was imported.)'

def get_real_modname(self):

    return (self.get_attr(self.object, '__module__', None) or self.modname)
