parameters: (dd)
return_statement: return (int(degrees) * sign,
              int(minutes) * sign,
              int(seconds) * sign)
docstring: Convert decimal degrees to degrees, minutes, seconds.
  
      Used in export.
docstring_summary: Convert decimal degrees to degrees, minutes, seconds.
docstring_tokens: Convert decimal degrees to degrees minutes seconds .
function: def dd2dms(dd):
      """Convert decimal degrees to degrees, minutes, seconds.
  
      Used in export.
      """
      sign = 1 if dd >= 0 else -1
      dd = abs(dd)
      minutes, seconds = divmod(dd * 3600, 60)
      degrees, minutes = divmod(minutes, 60)
  
      if dd < 0:
          degrees = -degrees
  
      return (int(degrees) * sign,
              int(minutes) * sign,
              int(seconds) * sign)
function_tokens: def dd2dms ( dd ) : sign = 1 if dd >= 0 else - 1 dd = abs ( dd ) minutes , seconds = divmod ( dd * 3600 , 60 ) degrees , minutes = divmod ( minutes , 60 ) if dd < 0 : degrees = - degrees return ( int ( degrees ) * sign , int ( minutes ) * sign , int ( seconds ) * sign )