def DateTimeDelta2literal(d, c):
 return string_literal(format_TIMEDELTA(d), c)

def DateTimeDelta2literal ( d , c ) : return string_literal ( format_TIMEDELTA ( d ) , c )
format a datetimedelta object as a time .