parameters: (logical_line)
docstring: The {}.has_key() method will be removed in the future version of
      Python. Use the 'in' operation instead, like:
      d = {"a": 1, "b": 2}
      if "b" in d:
          print d["b"]
docstring_summary: The {}.has_key() method will be removed in the future version of
      Python. Use the 'in' operation instead, like:
      d = {"a": 1, "b": 2}
      if "b" in d:
          print d["b"]
docstring_tokens: The {} . has_key () method will be removed in the future version of Python . Use the in operation instead like : d = { a : 1 b : 2 } if b in d : print d [ b ]
function: def python_3000_has_key(logical_line):
      """
      The {}.has_key() method will be removed in the future version of
      Python. Use the 'in' operation instead, like:
      d = {"a": 1, "b": 2}
      if "b" in d:
          print d["b"]
      """
      pos = logical_line.find('.has_key(')
      if pos > -1:
          return pos, "W601 .has_key() is deprecated, use 'in'"
function_tokens: def python_3000_has_key ( logical_line ) : pos = logical_line . find ( '.has_key(' ) if pos > - 1 : return pos , "W601 .has_key() is deprecated, use 'in'"