Luke Palmer | 2 Dec 10:59
Picon
Gravatar

Re: import

2008/12/2 Galchin, Vasili <vigalchin <at> gmail.com>:
> Hello,
>
>      I am a little uncertain about "import" semantics in a hierarchical
> package ... i.e. if I import the root of a package root do I get everything
> under the "root's" namespace, i.e. the namespace tree?

There is nothing at all magical about the . in a package name, other
than that it is replaced by a / when searching for modules in a
directory tree.  But you should treat it as any other identifier
character.  Any hierarchy is purely incidental :-)

Luke

Gmane