(self)
return self.__namespaces[0]
Returns the single namespace bound to this name.

        Raises ValueError if the name is bound to multiple namespaces.
Returns the single namespace bound to this name.
Returns the single namespace bound to this name .
def get_namespace(self):
        """Returns the single namespace bound to this name.

        Raises ValueError if the name is bound to multiple namespaces.
        """
        if len(self.__namespaces) != 1:
            raise ValueError("name is bound to multiple namespaces")
        return self.__namespaces[0]
def get_namespace ( self ) : if len ( self . __namespaces ) != 1 : raise ValueError ( "name is bound to multiple namespaces" ) return self . __namespaces [ 0 ]