From: Martin Panter Date: Fri, 11 Sep 2015 23:44:18 +0000 (+0000) Subject: socket.sendfile() is a method not a module X-Git-Tag: v3.5.1rc1~371 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=3133a9f5ab0eac7e21a13b9fa10356d6c830f83c;p=python socket.sendfile() is a method not a module --- diff --git a/Doc/library/os.rst b/Doc/library/os.rst index 13f83c6037..30f1605c10 100644 --- a/Doc/library/os.rst +++ b/Doc/library/os.rst @@ -1102,7 +1102,7 @@ or `the MSDN `_ on Window .. note:: For a higher-level wrapper of :func:`sendfile`, see - :mod:`socket.socket.sendfile`. + :meth:`socket.socket.sendfile`. .. versionadded:: 3.3