Skip to content

Commit a0b7923

Browse files
committed
Fix method name: ensure_directories, not create_directories. Found by Michael Rand on docs@.
1 parent 0688d68 commit a0b7923

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Doc/library/venv.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -129,13 +129,13 @@ creation according to their needs, the :class:`EnvBuilder` class.
129129
env_dir is the target directory to create an environment in.
130130
"""
131131
env_dir = os.path.abspath(env_dir)
132-
context = self.create_directories(env_dir)
132+
context = self.ensure_directories(env_dir)
133133
self.create_configuration(context)
134134
self.setup_python(context)
135135
self.setup_scripts(context)
136136
self.post_setup(context)
137137

138-
Each of the methods :meth:`create_directories`,
138+
Each of the methods :meth:`ensure_directories`,
139139
:meth:`create_configuration`, :meth:`setup_python`,
140140
:meth:`setup_scripts` and :meth:`post_setup` can be overridden.
141141

0 commit comments

Comments
 (0)