diff options
author | Georg Brandl <georg@python.org> | 2013-10-06 10:52:49 (GMT) |
---|---|---|
committer | Georg Brandl <georg@python.org> | 2013-10-06 10:52:49 (GMT) |
commit | a0b792354e85593f0a0186b107026716c4a625dc (patch) | |
tree | c02fb2047f271ae961b0075eabb3709e30b60bda /Doc/library | |
parent | 0688d68d14188feaef88a6900b6cc030d2f80559 (diff) | |
download | cpython-a0b792354e85593f0a0186b107026716c4a625dc.zip cpython-a0b792354e85593f0a0186b107026716c4a625dc.tar.gz cpython-a0b792354e85593f0a0186b107026716c4a625dc.tar.bz2 |
Fix method name: ensure_directories, not create_directories. Found by Michael Rand on docs@.
Diffstat (limited to 'Doc/library')
-rw-r--r-- | Doc/library/venv.rst | 4 |
1 files 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. |