]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
Fix method name: ensure_directories, not create_directories. Found by Michael Rand...
authorGeorg Brandl <georg@python.org>
Sun, 6 Oct 2013 10:52:49 +0000 (12:52 +0200)
committerGeorg Brandl <georg@python.org>
Sun, 6 Oct 2013 10:52:49 +0000 (12:52 +0200)
Doc/library/venv.rst

index 28962d39934d0216c00472d363e22d2b3c164288..2dd21e51933858e8393400fc848b52af05a82fcc 100644 (file)
@@ -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.