mirror of
https://github.com/python/cpython.git
synced 2025-11-12 23:16:47 +00:00
Issue 21554: Repair an out-of-date tutorial example to reflect changes in shutil.
This commit is contained in:
parent
729148b217
commit
bd46e48381
1 changed files with 2 additions and 0 deletions
|
|
@ -40,7 +40,9 @@ a higher level interface that is easier to use::
|
||||||
|
|
||||||
>>> import shutil
|
>>> import shutil
|
||||||
>>> shutil.copyfile('data.db', 'archive.db')
|
>>> shutil.copyfile('data.db', 'archive.db')
|
||||||
|
'archive.db'
|
||||||
>>> shutil.move('/build/executables', 'installdir')
|
>>> shutil.move('/build/executables', 'installdir')
|
||||||
|
'installdir'
|
||||||
|
|
||||||
|
|
||||||
.. _tut-file-wildcards:
|
.. _tut-file-wildcards:
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue