micropython/tests/import/import-pkg3.py

7 lines
76 B
Python

from pkg import mod
print(mod.foo())
import pkg.mod
print(mod is pkg.mod)