code: def match(self, other_version):
      
      major, minor, patch = _str_to_version(other_version, allow_wildcard=True)
      return (major in [self.major, "*"] and minor in [self.minor, "*"]
              and patch in [self.patch, "*"])
docs: Returns True if other_version matches.
  
      Args:
        other_version: string, of the form "x[.y[.x]]" where {x,y,z} can be a
          number or a wildcard.