#NEWLINE# def format_timedelta( datetime_or_timedelta , granularity = 'second' , threshold = 0.85 ) : #NEWLINE# #INDENT# 'See :meth:`I18n.format_timedelta`.' #NEWLINE# return get_i18n ( ) . format_timedelta ( datetime_or_timedelta , granularity , granularity )