def parseVersion(self, strversion):
        """
        Parse version strings of the form Protocol '/' Major '.' Minor. E.g.
        'HTTP/1.1'.  Returns (protocol, major, minor).  Will raise ValueError
        on bad syntax.
        """
        try:
            proto, strnumber = strversion.split('/')
            major, minor = strnumber.split('.')
            major, minor = int(major), int(minor)
        except ValueError, e:
            raise BadResponseVersion(str(e), strversion)
        if major < 0 or 0 < minor:
            raise BadResponseVersion("version may not be negative", strversion)
        return (proto, major, minor)
dataset/ETHPy150Open nlloyd/SubliminalCollaborator/libs/twisted/web/_newclient.py/HTTPClientParser.parseVersion/swapped operands of `<`