summaryrefslogtreecommitdiff
path: root/Doc
diff options
context:
space:
mode:
authorAntoine Pitrou <solipsis@pitrou.net>2010-10-13 16:17:14 +0000
committerAntoine Pitrou <solipsis@pitrou.net>2010-10-13 16:17:14 +0000
commit834bd81c51568c12d8dc7ff77025d6a61d5ce7e1 (patch)
treed624b4d8ec3b0ea36edb47486bdd0bfa6184b8c6 /Doc
parentf2b1909e0f5df130872afef219b69c833a5750b2 (diff)
downloadcpython-git-834bd81c51568c12d8dc7ff77025d6a61d5ce7e1.tar.gz
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')
-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 3a378eadf0..d662457e0f 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