summaryrefslogtreecommitdiffstats
path: root/Modules
diff options
context:
space:
mode:
authorFred Drake <fdrake@acm.org>2001-05-10 15:54:32 (GMT)
committerFred Drake <fdrake@acm.org>2001-05-10 15:54:32 (GMT)
commit1d531997a64db69496beb0f69143800c6b8a98ca (patch)
treec8a3c4dadbdef1f8fc0c432913618f8c77271b3a /Modules
parent48a1638d78a9a6edc8637af7aae8ef0558ae29a9 (diff)
downloadcpython-1d531997a64db69496beb0f69143800c6b8a98ca.zip
cpython-1d531997a64db69496beb0f69143800c6b8a98ca.tar.gz
cpython-1d531997a64db69496beb0f69143800c6b8a98ca.tar.bz2
Fix the fcntl() docstring so the user is not mis-directed to the FCNTL
module for useful constants.
Diffstat (limited to 'Modules')
-rw-r--r--Modules/fcntlmodule.c14
1 files changed, 7 insertions, 7 deletions
diff --git a/Modules/fcntlmodule.c b/Modules/fcntlmodule.c
index f6dd03a..c45dbe90 100644
--- a/Modules/fcntlmodule.c
+++ b/Modules/fcntlmodule.c
@@ -81,13 +81,13 @@ static char fcntl_doc [] =
"fcntl(fd, opt, [arg])\n\
\n\
Perform the requested operation on file descriptor fd. The operation\n\
-is defined by op and is operating system dependent. Typically these\n\
-codes can be retrieved from the library module FCNTL. The argument arg\n\
-is optional, and defaults to 0; it may be an int or a string. If arg is\n\
-given as a string, the return value of fcntl is a string of that length,\n\
-containing the resulting value put in the arg buffer by the operating system.\n\
-The length of the arg string is not allowed to exceed 1024 bytes. If the arg\n\
-given is an integer or if none is specified, the result value is an integer\n\
+is defined by op and is operating system dependent. These constants are\n\
+available from the fcntl module. The argument arg is optional, and\n\
+defaults to 0; it may be an int or a string. If arg is given as a string,\n\
+the return value of fcntl is a string of that length, containing the\n\
+resulting value put in the arg buffer by the operating system.The length\n\
+of the arg string is not allowed to exceed 1024 bytes. If the arg given\n\
+is an integer or if none is specified, the result value is an integer\n\
corresponding to the return value of the fcntl call in the C code.";