summaryrefslogtreecommitdiffstats
path: root/Lib/socket.py
diff options
context:
space:
mode:
Diffstat (limited to 'Lib/socket.py')
-rw-r--r--Lib/socket.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/Lib/socket.py b/Lib/socket.py
index 77986fc..524ce13 100644
--- a/Lib/socket.py
+++ b/Lib/socket.py
@@ -306,7 +306,8 @@ class socket(_socket.socket):
"""makefile(...) -> an I/O stream connected to the socket
The arguments are as for io.open() after the filename, except the only
- supported mode values are 'r' (default), 'w' and 'b'.
+ supported mode values are 'r' (default), 'w', 'b', or a combination of
+ those.
"""
# XXX refactor to share code?
if not set(mode) <= {"r", "w", "b"}: