summaryrefslogtreecommitdiffstats
path: root/Doc
diff options
context:
space:
mode:
authorMartin Panter <vadmium>2015-09-09 05:29:24 (GMT)
committerMartin Panter <vadmium>2015-09-09 05:29:24 (GMT)
commit9499413508b7ff4e7806f8f8e59ba9176d98b39c (patch)
tree4cfae3712f336855be7dee238b0a0ee8c95a9810 /Doc
parent78d915aa3e12300118f0f274ead583713197ead7 (diff)
downloadcpython-9499413508b7ff4e7806f8f8e59ba9176d98b39c.zip
cpython-9499413508b7ff4e7806f8f8e59ba9176d98b39c.tar.gz
cpython-9499413508b7ff4e7806f8f8e59ba9176d98b39c.tar.bz2
os.sendfile(headers=None, trailers=None) arguments are not actually accepted
Needs to be tested on a BSD.
Diffstat (limited to 'Doc')
-rw-r--r--Doc/library/os.rst2
1 files changed, 1 insertions, 1 deletions
diff --git a/Doc/library/os.rst b/Doc/library/os.rst
index 7aacd01..984f2dd 100644
--- a/Doc/library/os.rst
+++ b/Doc/library/os.rst
@@ -1072,7 +1072,7 @@ or `the MSDN <http://msdn.microsoft.com/en-us/library/z0kc8e3z.aspx>`_ on Window
.. function:: sendfile(out, in, offset, count)
- sendfile(out, in, offset, count, headers=None, trailers=None, flags=0)
+ sendfile(out, in, offset, count, [headers], [trailers], flags=0)
Copy *count* bytes from file descriptor *in* to file descriptor *out*
starting at *offset*.