[Python-checkins] cpython (3.3): Fix method name: ensure_directories, not create_directories. Found by Michael
georg.brandl
python-checkins at python.org
Sun Oct 6 12:52:12 CEST 2013
http://hg.python.org/cpython/rev/ef0b7d9a1bbf
changeset: 86068:ef0b7d9a1bbf
branch: 3.3
parent: 86065:942b9420e7e9
user: Georg Brandl <georg at python.org>
date: Sun Oct 06 12:52:49 2013 +0200
summary:
Fix method name: ensure_directories, not create_directories. Found by Michael Rand on docs at .
files:
Doc/library/venv.rst | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/Doc/library/venv.rst b/Doc/library/venv.rst
--- a/Doc/library/venv.rst
+++ b/Doc/library/venv.rst
@@ -129,13 +129,13 @@
env_dir is the target directory to create an environment in.
"""
env_dir = os.path.abspath(env_dir)
- context = self.create_directories(env_dir)
+ context = self.ensure_directories(env_dir)
self.create_configuration(context)
self.setup_python(context)
self.setup_scripts(context)
self.post_setup(context)
- Each of the methods :meth:`create_directories`,
+ Each of the methods :meth:`ensure_directories`,
:meth:`create_configuration`, :meth:`setup_python`,
:meth:`setup_scripts` and :meth:`post_setup` can be overridden.
--
Repository URL: http://hg.python.org/cpython
More information about the Python-checkins
mailing list