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)