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

        Raises ValueError if the name is bound to multiple namespaces.
Return the single namespace bound to this name.
Return the single namespace bound to this name .
def get_namespace(self):
        """Return 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 ]