Make read() and readlines() conform more to the file object interface:
the default arg for read() is -1, not None, and readlines() has an optional argument (which for now is ignored).
Showing
Please
register
or
sign in
to comment
the default arg for read() is -1, not None, and readlines() has an optional argument (which for now is ignored).