From 3133a9f5ab0eac7e21a13b9fa10356d6c830f83c Mon Sep 17 00:00:00 2001 From: Martin Panter Date: Fri, 11 Sep 2015 23:44:18 +0000 Subject: [PATCH] socket.sendfile() is a method not a module --- Doc/library/os.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- 2.40.0