<s> from __future__ import ( absolute_import , division , print_function , <EOL> unicode_literals ) <EOL> from datetime import timedelta <EOL> def strip_microseconds ( date ) : <EOL> return date - timedelta ( microseconds = date . microsecond ) </s>
