diff options
author | Antoine Pitrou <solipsis@pitrou.net> | 2010-10-13 16:17:14 (GMT) |
---|---|---|
committer | Antoine Pitrou <solipsis@pitrou.net> | 2010-10-13 16:17:14 (GMT) |
commit | 834bd81c51568c12d8dc7ff77025d6a61d5ce7e1 (patch) | |
tree | d624b4d8ec3b0ea36edb47486bdd0bfa6184b8c6 /Doc/library | |
parent | f2b1909e0f5df130872afef219b69c833a5750b2 (diff) | |
download | cpython-834bd81c51568c12d8dc7ff77025d6a61d5ce7e1.zip cpython-834bd81c51568c12d8dc7ff77025d6a61d5ce7e1.tar.gz cpython-834bd81c51568c12d8dc7ff77025d6a61d5ce7e1.tar.bz2 |
Issue #10041: The signature of optional arguments in socket.makefile()
didn't match that of io.open(), and they also didn't get forwarded
properly to TextIOWrapper in text mode. Patch by Kai Zhu.
Diffstat (limited to 'Doc/library')
-rw-r--r-- | Doc/library/socket.rst | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Doc/library/socket.rst b/Doc/library/socket.rst index 3a378ea..d662457 100644 --- a/Doc/library/socket.rst +++ b/Doc/library/socket.rst @@ -613,7 +613,7 @@ correspond to Unix system calls applicable to sockets. is system-dependent (usually 5). -.. method:: socket.makefile(mode='r', buffering=None, *, encoding=None, newline=None) +.. method:: socket.makefile(mode='r', buffering=None, *, encoding=None, errors=None, newline=None) .. index:: single: I/O control; buffering |