summaryrefslogtreecommitdiffstats
path: root/Doc/library
diff options
context:
space:
mode:
authorAntoine Pitrou <solipsis@pitrou.net>2010-10-13 16:17:14 (GMT)
committerAntoine Pitrou <solipsis@pitrou.net>2010-10-13 16:17:14 (GMT)
commit834bd81c51568c12d8dc7ff77025d6a61d5ce7e1 (patch)
treed624b4d8ec3b0ea36edb47486bdd0bfa6184b8c6 /Doc/library
parentf2b1909e0f5df130872afef219b69c833a5750b2 (diff)
downloadcpython-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.rst2
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