def __repr__(self):
        if self.expected is not None:
            e = ', %i more expected' % self.expected
        else:
            e = ''
        return 'IncompleteRead(%i bytes read%s)' % (len(self.partial), e)
dataset/ETHPy150Open francelabs/datafari/windows/python/Lib/httplib.py/IncompleteRead.__repr__/original