Skip to content

Commit 2b56031

Browse files
bpo-40178: Convert the remaining os functions to Argument Clinic. (GH-19360)
Convert os.getgrouplist(), os.initgroups(), os.sendfile() and os.get_terminal_size().
1 parent 12446e6 commit 2b56031

File tree

3 files changed

+716
-126
lines changed

3 files changed

+716
-126
lines changed

Doc/library/os.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1266,7 +1266,7 @@ or `the MSDN <https://msdn.microsoft.com/en-us/library/z0kc8e3z.aspx>`_ on Windo
12661266

12671267

12681268
.. function:: sendfile(out_fd, in_fd, offset, count)
1269-
sendfile(out_fd, in_fd, offset, count, [headers], [trailers], flags=0)
1269+
sendfile(out_fd, in_fd, offset, count, headers=(), trailers=(), flags=0)
12701270

12711271
Copy *count* bytes from file descriptor *in_fd* to file descriptor *out_fd*
12721272
starting at *offset*.

0 commit comments

Comments
 (0)