summaryrefslogtreecommitdiffstats
path: root/Doc/library/os.rst
diff options
context:
space:
mode:
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