summaryrefslogtreecommitdiffstats
path: root/Doc/distutils/apiref.rst
diff options
context:
space:
mode:
authorGeorg Brandl <georg@python.org>2008-05-26 17:55:52 (GMT)
committerGeorg Brandl <georg@python.org>2008-05-26 17:55:52 (GMT)
commitf4a41231b2ddcd4bd6131e69c854249d8eb75899 (patch)
tree7aaf7a5a2f3d8de08495602fea4d20edcaa479fd /Doc/distutils/apiref.rst
parent95f5686e4d956edff0b3bb4aaae4fe12b81f6521 (diff)
downloadcpython-f4a41231b2ddcd4bd6131e69c854249d8eb75899.zip
cpython-f4a41231b2ddcd4bd6131e69c854249d8eb75899.tar.gz
cpython-f4a41231b2ddcd4bd6131e69c854249d8eb75899.tar.bz2
Fix old-style octal literals in the docs.
Diffstat (limited to 'Doc/distutils/apiref.rst')
-rw-r--r--Doc/distutils/apiref.rst4
1 files changed, 2 insertions, 2 deletions
diff --git a/Doc/distutils/apiref.rst b/Doc/distutils/apiref.rst
index 6616f83..be1eb0f 100644
--- a/Doc/distutils/apiref.rst
+++ b/Doc/distutils/apiref.rst
@@ -961,7 +961,7 @@ This module provides functions for operating on directories and trees of
directories.
-.. function:: mkpath(name[, mode=0777, verbose=0, dry_run=0])
+.. function:: mkpath(name[, mode=0o777, verbose=0, dry_run=0])
Create a directory and any missing ancestor directories. If the directory
already exists (or if *name* is the empty string, which means the current
@@ -972,7 +972,7 @@ directories.
directories actually created.
-.. function:: create_tree(base_dir, files[, mode=0777, verbose=0, dry_run=0])
+.. function:: create_tree(base_dir, files[, mode=0o777, verbose=0, dry_run=0])
Create all the empty directories under *base_dir* needed to put *files* there.
*base_dir* is just the a name of a directory which doesn't necessarily exist