[docs] venv 3.3.2 docs - "create_directories" should be "ensure_directories"
Georg Brandl
georg at python.org
Sun Oct 6 12:53:11 CEST 2013
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Am 16.06.2013 03:27, schrieb Michael Rand:
> To whom it may concern,
>
> When subclassing venv.EnvBuilder and customizing create(), the docs say
> that one should use "self.create_directories(env_dir)".
>
> This call raises an AttributeError. When looking at the subclass, I don't
> see "create_directories" but instead I see the method "ensure_directories",
> which has the following docstring:
>
> "Create the directories for the environment".
>
> It seems like either the docs should be fixed to reflect
> "ensure_directories" as the appropriate method name or the method should be
> renamed "create_directories".
>
> Apologies if I'm mistaken on this ... this is my first doc bug report.
Hi Michael,
thanks for the report; this is now fixed and will be online soon.
cheers,
Georg
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.21 (GNU/Linux)
iEYEARECAAYFAlJRQRcACgkQN9GcIYhpnLC2xACePdRqKwSXOfwVt2UgER4zyksy
SvIAn1XfyFQFiuvcMNZsGczuFomnlnyY
=2EGR
-----END PGP SIGNATURE-----
More information about the docs
mailing list