'Returns the single namespace bound to this name.
Raises ValueError if the name is bound to multiple namespaces.'

def get_namespace(self):

    if (len(self.__namespaces) != 1):
        raise ValueError, 'name    is    bound    to    multiple    namespaces'
    return self.__namespaces[0]
