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
0ac4a5d6
Commit
0ac4a5d6
authored
Sep 01, 2011
by
Éric Araujo
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add missing name in shutil.__all__
parent
d9299e97
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletion
+2
-1
Lib/shutil.py
Lib/shutil.py
+2
-1
No files found.
Lib/shutil.py
View file @
0ac4a5d6
...
...
@@ -35,7 +35,7 @@ __all__ = ["copyfileobj", "copyfile", "copymode", "copystat", "copy", "copy2",
"register_archive_format"
,
"unregister_archive_format"
,
"get_unpack_formats"
,
"register_unpack_format"
,
"unregister_unpack_format"
,
"unpack_archive"
,
"ignore_patterns"
]
"ignore_patterns"
,
"chown"
]
# disk_usage is added later, if available on the platform
class
Error
(
EnvironmentError
):
...
...
@@ -791,6 +791,7 @@ elif os.name == 'nt':
used
=
total
-
free
return
_ntuple_diskusage
(
total
,
used
,
free
)
def
chown
(
path
,
user
=
None
,
group
=
None
):
"""Change owner user and group of the given path.
...
...
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