summaryrefslogtreecommitdiffstats
path: root/Doc/library/os.rst
diff options
context:
space:
mode:
authorHynek Schlawack <hs@ox.cx>2012-05-21 09:01:54 (GMT)
committerHynek Schlawack <hs@ox.cx>2012-05-21 09:01:54 (GMT)
commitdfa465243c94b540099c413eb79b2774b40bb82e (patch)
tree3b67d5600dc9fa2be8843c024259336d73e69b1e /Doc/library/os.rst
parentf54c0604c852c2bf0b4d522cea7d94f205a795e8 (diff)
downloadcpython-dfa465243c94b540099c413eb79b2774b40bb82e.zip
cpython-dfa465243c94b540099c413eb79b2774b40bb82e.tar.gz
cpython-dfa465243c94b540099c413eb79b2774b40bb82e.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 0b66d2b..8b2e582 100644
--- a/Doc/library/os.rst
+++ b/Doc/library/os.rst
@@ -1145,7 +1145,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