parameters: (value, mn, mx)
return_statement: return max(min(value, mx), mn)
docstring: Clamp the value to the the given minimum and maximum.
docstring_summary: Clamp the value to the the given minimum and maximum.
docstring_tokens: Clamp the value to the the given minimum and maximum .
function: def clamp(value, mn, mx):
      """Clamp the value to the the given minimum and maximum."""
  
      return max(min(value, mx), mn)
function_tokens: def clamp ( value , mn , mx ) : return max ( min ( value , mx ) , mn )