def make_time(dt, date_parser=parse_date):
if not dt:<EOL><INDENT>return datetime.time(<NUM_LIT:0>, <NUM_LIT:0>)<EOL><DEDENT>if isinstance(dt, basestring):<EOL><INDENT>try:<EOL><INDENT>dt = date_parser(dt)<EOL><DEDENT>except (ValueError, AttributeError):<EOL><INDENT>print_exc()<EOL>print('<STR_LIT>'.format(repr(dt)))<EOL><DEDENT><DEDENT>try:<EOL><INDENT>dt = dt.timetuple()[<NUM_LIT:3>:<NUM_LIT:6>]<EOL><DEDENT>except AttributeError:<EOL><INDENT>dt = tuple(dt)[<NUM_LIT:3>:<NUM_LIT:6>]<EOL><DEDENT>return datetime.time(*dt)<EOL>
Ignore date information in a datetime string or object

    Arguments:
      dt (str or datetime.datetime or atetime.time or numpy.Timestamp): time or date
        to be coerced into a `datetime.time` object

    Returns:
      datetime.time: Time of day portion of a `datetime` string or object

    >>> make_time(None)
    datetime.time(0, 0)
    >>> make_time("")
    datetime.time(0, 0)
    >>> make_time("11:59 PM")
    datetime.time(23, 59)
    >>> make_time(datetime.datetime(1999, 12, 31, 23, 59, 59))
    datetime.time(23, 59, 59)