From a0b792354e85593f0a0186b107026716c4a625dc Mon Sep 17 00:00:00 2001 From: Georg Brandl Date: Sun, 6 Oct 2013 12:52:49 +0200 Subject: Fix method name: ensure_directories, not create_directories. Found by Michael Rand on docs@. --- Doc/library/venv.rst | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Doc/library/venv.rst b/Doc/library/venv.rst index 28962d3..2dd21e5 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. -- cgit v0.12