kopia lustrzana https://github.com/micropython/micropython
15 wiersze
202 B
Python
15 wiersze
202 B
Python
![]() |
# test custom builtin module
|
||
|
|
||
|
try:
|
||
|
import cexample
|
||
|
except ImportError:
|
||
|
print("SKIP")
|
||
|
raise SystemExit
|
||
|
|
||
|
print(cexample)
|
||
|
|
||
|
d = dir(cexample)
|
||
|
d.index("add_ints")
|
||
|
|
||
|
print(cexample.add_ints(1, 3))
|