def clean_semver(cls, version_spec):
        return re.sub(r"([<>=~])\s+?v?", "\\1", version_spec, re.IGNORECASE)
def clear(self):
    for unused_ in range(len(self._items)):
      self.remove_item(self._items[0])