Add next and __iter__ to the list of file methods that should raise
ValueError when called for a closed file.
1 file changed