parameters: (data)
docstring: Turn a 10-tuple as returned by parsedate_tz() into a UTC timestamp.
docstring_summary: Turn a 10-tuple as returned by parsedate_tz() into a UTC timestamp.
docstring_tokens: Turn a 10 - tuple as returned by parsedate_tz () into a UTC timestamp .
function: def mktime_tz(data):
      """Turn a 10-tuple as returned by parsedate_tz() into a UTC timestamp."""
      if data[9] is None:
          # No zone info, so localtime is better assumption than GMT
          return time.mktime(data[:8] + (-1,))
      else:
          t = time.mktime(data[:8] + (0,))
          return t - data[9] - time.timezone
function_tokens: def mktime_tz ( data ) : if data [ 9 ] is None : # No zone info, so localtime is better assumption than GMT return time . mktime ( data [ : 8 ] + ( - 1 , ) ) else : t = time . mktime ( data [ : 8 ] + ( 0 , ) ) return t - data [ 9 ] - time . timezone