original_docstring: Unrelated but handy function to calculate Unix timestamp from GMT.
docstring: Unrelated but handy function to calculate Unix timestamp from GMT.
docstring_tokens: Unrelated but handy function to calculate Unix timestamp from GMT .
code: def timegm(tuple):
      """Unrelated but handy function to calculate Unix timestamp from GMT."""
      year, month, day, hour, minute, second = tuple[:6]
      days = datetime.date(year, month, 1).toordinal() - _EPOCH_ORD + day - 1
      hours = days * 24 + hour
      minutes = hours * 60 + minute
      seconds = minutes * 60 + second
      return seconds
code_tokens: def timegm ( tuple ) : year , month , day , hour , minute , second = tuple [ : 6 ] days = datetime . date ( year , month , 1 ) . toordinal ( ) - _EPOCH_ORD + day - 1 hours = days * 24 + hour minutes = hours * 60 + minute seconds = minutes * 60 + second return seconds
short_docstring: Unrelated but handy function to calculate Unix timestamp from GMT.
short_docstring_tokens: Unrelated but handy function to calculate Unix timestamp from GMT .
comment: """Unrelated but handy function to calculate Unix timestamp from GMT."""