code: def remove_namespace(self, ns_uri):
          
          if not self.contains_namespace(ns_uri):
              return
  
          ni = self.__ns_uri_map.pop(ns_uri)
          for prefix in ni.prefixes:
              del self.__prefix_map[prefix]
docs: Removes the indicated namespace from this set.