File tree 1 file changed +4
-4
lines changed
1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -2400,10 +2400,10 @@ features:
2400
2400
Create a filesystem node (file, device special file or named pipe) named
2401
2401
*path *. *mode * specifies both the permissions to use and the type of node
2402
2402
to be created, being combined (bitwise OR) with one of ``stat.S_IFREG ``,
2403
- ``stat.S_IFCHR ``, ``stat.S_IFBLK ``, and ``stat.S_IFIFO `` (those constants are
2404
- available in :mod: `stat `). For ``stat.S_IFCHR `` and `` stat.S_IFBLK ``,
2405
- *device * defines the newly created device special file (probably using
2406
- :func: `os.makedev `), otherwise it is ignored.
2403
+ ``stat.S_IFCHR ``, ``stat.S_IFBLK ``, ``stat.S_IFIFO `` and `` stat.S_IFSOCK ``
2404
+ (those constants are available in :mod: `stat `). For ``stat.S_IFCHR `` and
2405
+ `` stat.S_IFBLK ``, *device * defines the newly created device special file
2406
+ (probably using :func: `os.makedev `), otherwise it is ignored.
2407
2407
2408
2408
This function can also support :ref: `paths relative to directory descriptors
2409
2409
<dir_fd>`.
You can’t perform that action at this time.
0 commit comments