cpython/Modules/_io
Benjamin Peterson ddd392cbb9 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.
2009-12-13 19:19:07 +00:00
..
_iomodule.c accept None as the same as having passed no argument in file types #7349 2009-12-13 19:19:07 +00:00
_iomodule.h accept None as the same as having passed no argument in file types #7349 2009-12-13 19:19:07 +00:00
bufferedio.c accept None as the same as having passed no argument in file types #7349 2009-12-13 19:19:07 +00:00
bytesio.c Manual py3k backport: [svn r74316] Issue #5449: Fix io.BytesIO to not accept arbitrary keywords 2009-10-24 12:28:22 +00:00
fileio.c accept None as the same as having passed no argument in file types #7349 2009-12-13 19:19:07 +00:00
iobase.c accept None as the same as having passed no argument in file types #7349 2009-12-13 19:19:07 +00:00
stringio.c Fix compilation error in debug mode. 2009-10-24 12:41:27 +00:00
textio.c accept None as the same as having passed no argument in file types #7349 2009-12-13 19:19:07 +00:00