summaryrefslogtreecommitdiffstats
path: root/Doc/library/os.rst
diff options
context:
space:
mode:
authorHynek Schlawack <hs@ox.cx>2012-05-21 11:35:03 (GMT)
committerHynek Schlawack <hs@ox.cx>2012-05-21 11:35:03 (GMT)
commit87d8200978e519dabb9ef0d1d982c17b6bf9fba9 (patch)
tree7c57be670f55b29c9af6b336b3ea7fd1bd8e56ff /Doc/library/os.rst
parent44f7cf0b2f48a4d2073382423e1b15f0d76f2551 (diff)
parentdfa465243c94b540099c413eb79b2774b40bb82e (diff)
downloadcpython-87d8200978e519dabb9ef0d1d982c17b6bf9fba9.zip
cpython-87d8200978e519dabb9ef0d1d982c17b6bf9fba9.tar.gz
cpython-87d8200978e519dabb9ef0d1d982c17b6bf9fba9.tar.bz2
#14804: Remove [] around optional arguments with default values
Diffstat (limited to 'Doc/library/os.rst')
-rw-r--r--Doc/library/os.rst2
1 files changed, 1 insertions, 1 deletions
diff --git a/Doc/library/os.rst b/Doc/library/os.rst
index f417c34..4445dc3 100644
--- a/Doc/library/os.rst
+++ b/Doc/library/os.rst
@@ -1786,7 +1786,7 @@ Files and Directories
Availability: Unix.
-.. function:: mknod(filename[, mode=0o600[, device]])
+.. function:: mknod(filename, mode=0o600, device=0)
Create a filesystem node (file, device special file or named pipe) named
*filename*. *mode* specifies both the permissions to use and the type of node