parameters: (self, other)
return_statement: return all(
              getattr(self, attr) == getattr(other, attr)
              for attr in ('max_scale', 'gamma', 'correlation', 'tol'))
docstring: Test for equality.
docstring_summary: Test for equality.
docstring_tokens: Test for equality .
function: def __eq__(self, other):
          """Test for equality."""
          if not isinstance(other, SolverStep):
              return NotImplemented
          if not isinstance(other, type(self)):
              return False
          return all(
              getattr(self, attr) == getattr(other, attr)
              for attr in ('max_scale', 'gamma', 'correlation', 'tol'))
function_tokens: def __eq__ ( self , other ) : if not isinstance ( other , SolverStep ) : return NotImplemented if not isinstance ( other , type ( self ) ) : return False return all ( getattr ( self , attr ) == getattr ( other , attr ) for attr in ( 'max_scale' , 'gamma' , 'correlation' , 'tol' ) )