#NEWLINE# def _create_timedelta( self , time_string ) : #NEWLINE# #INDENT# "\n        Takes a string in the format of 'HH:MM:SS' and returns a timedelta.\n        " #NEWLINE# args = dict ( zip ( [ 'hours' , 'minutes' , 'seconds' ] , [ int ( unit ) for unit in time_string . split ( ':' ) ] ) ) #NEWLINE# return datetime . timedelta ( ** args )