def diop_general_pythagorean(eq, param=symbols('m', integer=True)):
 (var, coeff, diop_type) = classify_diop(eq, _dict=False)
 if (diop_type == 'general_pythagorean'):
  return _diop_general_pythagorean(var, coeff, param)

def diop_general_pythagorean ( eq , param = symbols ( 'm' , integer = True ) ) : ( var , coeff , diop_type ) = classify_diop ( eq , _dict = False ) if ( diop_type == 'general_pythagorean' ) : return _diop_general_pythagorean ( var , coeff , param )
solves the general pythagorean equation .