commit | ddd392cbb9a94355a2ea32da4a42371d1333bfb8 | [log] [tgz] |
---|---|---|
author | Benjamin Peterson <benjamin@python.org> | Sun Dec 13 19:19:07 2009 +0000 |
committer | Benjamin Peterson <benjamin@python.org> | Sun Dec 13 19:19:07 2009 +0000 |
tree | f4c325ef0ec20e0e2007770992d371baa07c2bc7 | |
parent | e304852e21a92ef0a74c2d85c070572fddb4fba8 [diff] |
accept None as the same as having passed no argument in file types #7349 This is for consistency with imitation file objects like StringIO and BytesIO. This commit also adds a few tests, where they were lacking for concerned methods.