summaryrefslogtreecommitdiffstats
path: root/Doc/library/os.rst
diff options
context:
space:
mode:
authorHynek Schlawack <hs@ox.cx>2012-05-22 14:14:56 (GMT)
committerHynek Schlawack <hs@ox.cx>2012-05-22 14:14:56 (GMT)
commitf0bf135cd14fe2abe212d2220af811b42ad75a57 (patch)
tree2a0ec8a42c1a29865d21929937df9c97d707d389 /Doc/library/os.rst
parent161ea6a349d7b6720a19708aeceec98ae03770d1 (diff)
parent979f37afd2b7ccd77f2d43e68a1d596befa58bcd (diff)
downloadcpython-f0bf135cd14fe2abe212d2220af811b42ad75a57.zip
cpython-f0bf135cd14fe2abe212d2220af811b42ad75a57.tar.gz
cpython-f0bf135cd14fe2abe212d2220af811b42ad75a57.tar.bz2
Restore [] where default arguments are not keywords
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 4445dc3..8cc43c5 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=0)
+.. 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