Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
C
cpython
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
cpython
Commits
ab776cef
Commit
ab776cef
authored
Jun 12, 2010
by
Georg Brandl
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Document that an existing directory raises in mkdir().
parent
b20ada08
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletion
+2
-1
Doc/library/os.rst
Doc/library/os.rst
+2
-1
No files found.
Doc/library/os.rst
View file @
ab776cef
...
@@ -1175,7 +1175,8 @@ Files and Directories
...
@@ -1175,7 +1175,8 @@ Files and Directories
Create a directory named *path* with numeric mode *mode*. The default *mode* is
Create a directory named *path* with numeric mode *mode*. The default *mode* is
``0777`` (octal). On some systems, *mode* is ignored. Where it is used, the
``0777`` (octal). On some systems, *mode* is ignored. Where it is used, the
current umask value is first masked out.
current umask value is first masked out. If the directory already exists,
:exc:`OSError` is raised.
It is also possible to create temporary directories; see the
It is also possible to create temporary directories; see the
:mod:`tempfile` module's :func:`tempfile.mkdtemp` function.
:mod:`tempfile` module's :func:`tempfile.mkdtemp` function.
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment