• Guido van Rossum's avatar
    truncate() returns the new size and position. · 8742977b
    Guido van Rossum authored
    write() returns the number of bytes/characters written/buffered.
    FileIO.close() calls self.flush().
    Implement readinto() for buffered readers.
    Tests th check all these.
    Test proper behavior of __enter__/__exit__.
    8742977b
test_io.py 15.2 KB