(dt)
return timedelta_to_usecs(dt.replace(tzinfo=None) - dt.min)
Converts a datetime object to a long integer representing the number
    of microseconds since ``datetime.min``.
Converts a datetime object to a long integer representing the number
    of microseconds since ``datetime.min``.
Converts a datetime object to a long integer representing the number of microseconds since datetime . min .
def datetime_to_long(dt):
    """Converts a datetime object to a long integer representing the number
    of microseconds since ``datetime.min``.
    """

    return timedelta_to_usecs(dt.replace(tzinfo=None) - dt.min)
def datetime_to_long ( dt ) : return timedelta_to_usecs ( dt . replace ( tzinfo = None ) - dt . min )