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
7543997d
Commit
7543997d
authored
Aug 24, 2009
by
Georg Brandl
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
#6677: mention "deleting" as an alias for removing files.
parent
e8ddbece
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
9 deletions
+9
-9
Doc/library/os.rst
Doc/library/os.rst
+9
-9
No files found.
Doc/library/os.rst
View file @
7543997d
...
...
@@ -1067,12 +1067,12 @@ Files and Directories
.. function:: remove(path)
Remove
the file *path*. If *path* is a directory, :exc:`OSError` is raised; see
:func:`rmdir` below to remove a directory. This is identical to the
:func:`unlink` function documented below. On Windows, attempting to remove a
file that is in use causes an exception to be raised; on Unix, the directory
entry is removed but the storage allocated to the file is not made availabl
e
until the original file is no longer in use. Availability: Unix,
Remove
(delete) the file *path*. If *path* is a directory, :exc:`OSError` is
raised; see :func:`rmdir` below to remove a directory. This is identical to
the :func:`unlink` function documented below. On Windows, attempting to
remove a file that is in use causes an exception to be raised; on Unix, the
directory entry is removed but the storage allocated to the file is not mad
e
available
until the original file is no longer in use. Availability: Unix,
Windows.
...
...
@@ -1297,9 +1297,9 @@ Files and Directories
.. function:: unlink(path)
Remove
the file *path*. This is the same function as :func:`remove`; the
:func:`
unlink` name is its traditional Unix name. Availability: Unix,
Windows.
Remove
(delete) the file *path*. This is the same function as
:func:`
remove`; the :func:`unlink` name is its traditional Unix
name. Availability: Unix,
Windows.
.. function:: utime(path, times)
...
...
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