@classmethod
  def GetReasonPhrase(cls, code):
    """Returns the W3C name for a given response code."""
    if not isinstance(code, int):
      raise TypeError('HTTP status code must be an integer: %r' % code)

    if cls._RESPONSE_CODES not in code:
      logging.warn('Unknown HTTP status code: %d', code)
    return cls._RESPONSE_CODES.get(code, 'Response')
dataset/ETHPy150Open google/mysql-tools/pylib/http_server.py/ResponseCode.GetReasonPhrase/swapped operands of `not in`