summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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 eda0cb6..042ed8e 100644
--- a/Doc/library/venv.rst
+++ b/Doc/library/venv.rst
@@ -128,13 +128,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.