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
013f0c86
Commit
013f0c86
authored
Mar 01, 2000
by
Greg Ward
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Added 'mkpath()' method: convenience wrapper around 'util.mkpath()' that adds
the compiler objects 'verbose' and 'dry_run' flags.
parent
611850bb
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
1 deletion
+4
-1
Lib/distutils/ccompiler.py
Lib/distutils/ccompiler.py
+4
-1
No files found.
Lib/distutils/ccompiler.py
View file @
013f0c86
...
@@ -12,7 +12,7 @@ from types import *
...
@@ -12,7 +12,7 @@ from types import *
from
copy
import
copy
from
copy
import
copy
from
distutils.errors
import
*
from
distutils.errors
import
*
from
distutils.spawn
import
spawn
from
distutils.spawn
import
spawn
from
distutils.util
import
move_file
from
distutils.util
import
move_file
,
mkpath
class
CCompiler
:
class
CCompiler
:
...
@@ -453,6 +453,9 @@ class CCompiler:
...
@@ -453,6 +453,9 @@ class CCompiler:
def
move_file
(
self
,
src
,
dst
):
def
move_file
(
self
,
src
,
dst
):
return
move_file
(
src
,
dst
,
verbose
=
self
.
verbose
,
dry_run
=
self
.
dry_run
)
return
move_file
(
src
,
dst
,
verbose
=
self
.
verbose
,
dry_run
=
self
.
dry_run
)
def
mkpath
(
self
,
name
,
mode
=
0777
):
mkpath
(
name
,
mode
,
self
.
verbose
,
self
.
dry_run
)
# class CCompiler
# class CCompiler
...
...
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