This commit is contained in:
pje 2011-07-21 22:25:17 -04:00
parent 4c995f2cfa
commit e37bda9369
1 changed files with 1 additions and 1 deletions

View File

@ -434,7 +434,7 @@ is, if ``foo`` and ``foo.bar`` are pure virtual packages, then
``import foo.bar.baz`` must wait until ``foo.bar.baz`` is found before ``import foo.bar.baz`` must wait until ``foo.bar.baz`` is found before
creating module objects for *both* ``foo`` and ``foo.bar``, and then creating module objects for *both* ``foo`` and ``foo.bar``, and then
create both of them together, properly setting the ``foo`` module's create both of them together, properly setting the ``foo`` module's
``.bar`` attrbute to point to the ``foo.bar``module. ``.bar`` attrbute to point to the ``foo.bar`` module.
In this way, pure virtual packages are never directly importable: In this way, pure virtual packages are never directly importable:
an ``import foo`` or ``import foo.bar`` by itself will fail, and the an ``import foo`` or ``import foo.bar`` by itself will fail, and the