summaryrefslogtreecommitdiff
path: root/Doc/library/venv.rst
diff options
context:
space:
mode:
authorGeorg Brandl <georg@python.org>2013-10-06 12:52:49 +0200
committerGeorg Brandl <georg@python.org>2013-10-06 12:52:49 +0200
commite37ddd9a2225d329f41d2907c7de3c40eaa4b91b (patch)
tree8bb59b2c52c2231014ae66e38a4f375b54545341 /Doc/library/venv.rst
parent5d43e94ae12618a5650a1b934b152029731f2795 (diff)
downloadcpython-e37ddd9a2225d329f41d2907c7de3c40eaa4b91b.tar.gz
Fix method name: ensure_directories, not create_directories. Found by Michael Rand on docs@.
Diffstat (limited to 'Doc/library/venv.rst')
-rw-r--r--Doc/library/venv.rst4
1 files changed, 2 insertions, 2 deletions
diff --git a/Doc/library/venv.rst b/Doc/library/venv.rst
index 28962d3993..2dd21e5193 100644
--- a/Doc/library/venv.rst
+++ b/Doc/library/venv.rst
@@ -129,13 +129,13 @@ creation according to their needs, the :class:`EnvBuilder` class.
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.