S
Steven D'Aprano
This is somewhat odd, because most modules aren't exposed that way. They
are either in their own file and accessed by importing them directly, or
they are inside a package.
Any time you say:
import parrot
in one of your modules, you export parrot to anything that imports your
module. (Unless you take specific steps to prevent it, for instance with
del parrot.)
Just to pick some random examples:
<module 'os' from '/usr/lib/python2.5/os.pyc'>
It's quite common.