def _to_python(self, value):
        if isinstance(value, util.strbase):
            try:
                value = value.split('.', 1)[0] # strip out microseconds
                value = time(*strptime(value, '%H:%M:%S')[3:6])
            except __HOLE__:
                raise ValueError('Invalid ISO time %r' % value)
        return value
dataset/ETHPy150Open djc/couchdb-python/couchdb/mapping.py/TimeField._to_python