blob: 3df23e17a77c13227368ddc197e6eef2542e7c8f (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
# test import within viper function
@micropython.viper
def f():
import micropython
print(micropython.const(1))
from micropython import const
print(const(2))
f()
|