Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit c18b308

Browse files
committed
Fix a few docstrings, remove extra commas
1 parent 520cdf7 commit c18b308

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

Modules/posixmodule.c

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4969,7 +4969,7 @@ posix_fstat(PyObject *self, PyObject *args)
49694969

49704970

49714971
PyDoc_STRVAR(posix_fdopen__doc__,
4972-
"fdopen(fd, [, mode='r' [, bufsize]]) -> file_object\n\n\
4972+
"fdopen(fd [, mode='r' [, bufsize]]) -> file_object\n\n\
49734973
Return an open file object connected to a file descriptor.");
49744974

49754975
static PyObject *
@@ -5064,7 +5064,7 @@ posix_pipe(PyObject *self, PyObject *args)
50645064

50655065
#ifdef HAVE_MKFIFO
50665066
PyDoc_STRVAR(posix_mkfifo__doc__,
5067-
"mkfifo(filename, [, mode=0666])\n\n\
5067+
"mkfifo(filename [, mode=0666])\n\n\
50685068
Create a FIFO (a POSIX named pipe).");
50695069

50705070
static PyObject *
@@ -5088,7 +5088,7 @@ posix_mkfifo(PyObject *self, PyObject *args)
50885088

50895089
#if defined(HAVE_MKNOD) && defined(HAVE_MAKEDEV)
50905090
PyDoc_STRVAR(posix_mknod__doc__,
5091-
"mknod(filename, [, mode=0600, device])\n\n\
5091+
"mknod(filename [, mode=0600, device])\n\n\
50925092
Create a filesystem node (file, device special file or named pipe)\n\
50935093
named filename. mode specifies both the permissions to use and the\n\
50945094
type of node to be created, being combined (bitwise OR) with one of\n\

0 commit comments

Comments
 (0)