1from pkg import mod
2
3print(mod.foo())
4
5import pkg.mod
6
7print(mod is pkg.mod)
8