summaryrefslogtreecommitdiffstats
path: root/Modules/posixmodule.c
diff options
context:
space:
mode:
authorNeal Norwitz <nnorwitz@gmail.com>2002-10-11 22:19:42 (GMT)
committerNeal Norwitz <nnorwitz@gmail.com>2002-10-11 22:19:42 (GMT)
commitc18b3082294199415883c5ef6c66c69089f40a9e (patch)
tree5b8e8908bde5455412254306c37dd74c5b69af8e /Modules/posixmodule.c
parent520cdf733aa8bfff48369822802a2df913851fcb (diff)
downloadcpython-c18b3082294199415883c5ef6c66c69089f40a9e.zip
cpython-c18b3082294199415883c5ef6c66c69089f40a9e.tar.gz
cpython-c18b3082294199415883c5ef6c66c69089f40a9e.tar.bz2
Fix a few docstrings, remove extra commas
Diffstat (limited to 'Modules/posixmodule.c')
-rw-r--r--Modules/posixmodule.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/Modules/posixmodule.c b/Modules/posixmodule.c
index c611b07..9d7b977 100644
--- a/Modules/posixmodule.c
+++ b/Modules/posixmodule.c
@@ -4969,7 +4969,7 @@ posix_fstat(PyObject *self, PyObject *args)
PyDoc_STRVAR(posix_fdopen__doc__,
-"fdopen(fd, [, mode='r' [, bufsize]]) -> file_object\n\n\
+"fdopen(fd [, mode='r' [, bufsize]]) -> file_object\n\n\
Return an open file object connected to a file descriptor.");
static PyObject *
@@ -5064,7 +5064,7 @@ posix_pipe(PyObject *self, PyObject *args)
#ifdef HAVE_MKFIFO
PyDoc_STRVAR(posix_mkfifo__doc__,
-"mkfifo(filename, [, mode=0666])\n\n\
+"mkfifo(filename [, mode=0666])\n\n\
Create a FIFO (a POSIX named pipe).");
static PyObject *
@@ -5088,7 +5088,7 @@ posix_mkfifo(PyObject *self, PyObject *args)
#if defined(HAVE_MKNOD) && defined(HAVE_MAKEDEV)
PyDoc_STRVAR(posix_mknod__doc__,
-"mknod(filename, [, mode=0600, device])\n\n\
+"mknod(filename [, mode=0600, device])\n\n\
Create a filesystem node (file, device special file or named pipe)\n\
named filename. mode specifies both the permissions to use and the\n\
type of node to be created, being combined (bitwise OR) with one of\n\