import_pkg3.py 76 B

123456
  1. from pkg import mod
  2. print(mod.foo())
  3. import pkg.mod
  4. print(mod is pkg.mod)