mirror of
https://github.com/python/cpython.git
synced 2025-09-26 18:29:57 +00:00
specify how things are copied
This commit is contained in:
parent
2d873bd68b
commit
d729aada6a
2 changed files with 2 additions and 2 deletions
|
@ -156,7 +156,7 @@ copying and removal. For operations on individual files, see also the
|
||||||
Recursively move a file or directory to another location.
|
Recursively move a file or directory to another location.
|
||||||
|
|
||||||
If the destination is on the current filesystem, then simply use rename.
|
If the destination is on the current filesystem, then simply use rename.
|
||||||
Otherwise, copy src to the dst and then remove src.
|
Otherwise, copy src (with :func:`copy2`) to the dst and then remove src.
|
||||||
|
|
||||||
.. versionadded:: 2.3
|
.. versionadded:: 2.3
|
||||||
|
|
||||||
|
|
|
@ -587,7 +587,7 @@ def buildPythonDocs():
|
||||||
|
|
||||||
novername = 'python-docs-html.tar.bz2'
|
novername = 'python-docs-html.tar.bz2'
|
||||||
name = 'html-%s.tar.bz2'%(getFullVersion(),)
|
name = 'html-%s.tar.bz2'%(getFullVersion(),)
|
||||||
sourceArchive = os.path.join(DEPSRC, name)
|
sourceArchive = os.path.join(DEPSRC, novername)
|
||||||
if os.path.exists(sourceArchive):
|
if os.path.exists(sourceArchive):
|
||||||
print "Using local copy of %s"%(name,)
|
print "Using local copy of %s"%(name,)
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue