code: def filter(self, versions, key=lambda x: x):
          
  
          return [x for x in versions if self.check(key(x))]
docs: Filter all of the versions in an iterable that match this version range
  
          Args:
              versions (iterable): An iterable of SemanticVersion objects
  
          Returns:
              list: A list of the SemanticVersion objects that matched this range