code: def timedelta_to_seconds(td):
      """Equivalent to td.total_seconds() (introduced in python 2.7)."""
      return (
          td.microseconds + (td.seconds + td.days * 24 * 3600) * 10**6
      ) / float(10**6)
  
file_path: catboost/contrib/python/pyzmq/py2/zmq/eventloop/minitornado/util.py
imports: from __future__ import absolute_import, division, print_function, with_statement
  import sys
label_desc: Use image node_id 3 for calling a global function with example usage: timedelta_to_seconds(td) and returns: unknown