y buffer.

The initial_value argument sets the value of object.  The newline
argument is like the one of TextIOWrapper's constructor.