Skip to content

Commit bcef1c3

Browse files
author
fdrake
committed
Fix the fcntl() docstring so the user is not mis-directed to the FCNTL module for useful constants. git-svn-id: http://svn.python.org/projects/python/trunk@20709 6015fed2-1504-0410-9fe1-9d1591cc4771
1 parent 510e6e4 commit bcef1c3

1 file changed

Lines changed: 7 additions & 7 deletions

File tree

Modules/fcntlmodule.c

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -81,13 +81,13 @@ static char fcntl_doc [] =
8181
"fcntl(fd, opt, [arg])\n\
8282
\n\
8383
Perform the requested operation on file descriptor fd. The operation\n\
84-
is defined by op and is operating system dependent. Typically these\n\
85-
codes can be retrieved from the library module FCNTL. The argument arg\n\
86-
is optional, and defaults to 0; it may be an int or a string. If arg is\n\
87-
given as a string, the return value of fcntl is a string of that length,\n\
88-
containing the resulting value put in the arg buffer by the operating system.\n\
89-
The length of the arg string is not allowed to exceed 1024 bytes. If the arg\n\
90-
given is an integer or if none is specified, the result value is an integer\n\
84+
is defined by op and is operating system dependent. These constants are\n\
85+
available from the fcntl module. The argument arg is optional, and\n\
86+
defaults to 0; it may be an int or a string. If arg is given as a string,\n\
87+
the return value of fcntl is a string of that length, containing the\n\
88+
resulting value put in the arg buffer by the operating system.The length\n\
89+
of the arg string is not allowed to exceed 1024 bytes. If the arg given\n\
90+
is an integer or if none is specified, the result value is an integer\n\
9191
corresponding to the return value of the fcntl call in the C code.";
9292

9393

0 commit comments

Comments
 (0)