'Generates an Import statement, that can be used to fake nested imports.'

def _get_nested_import_name(self):

    i = self._nested_import
    zero = (0, 0)
    names = [unicode(name) for name in i.namespace_names[1:]]
    name = helpers.FakeName(names, self._nested_import)
    new = tree.Import(i._sub_module, zero, zero, name)
    new.parent = self._module
    debug.dbg('Generated    a    nested    import:    %s', new)
    return helpers.FakeName(str(i.namespace_names[1]), new)
