code: def delete_cgroup(self, name):
          
          name = name.encode()
          fp = os.path.join(self.full_path, name)
          if os.path.exists(fp):
              os.rmdir(fp)
          node = Node(name, parent=self)
          try:
              self.children.remove(node)
          except ValueError:
              return
docs: Delete a cgroup by name and detach it from this node.
          Raises OSError if the cgroup is not empty.