18 lines
332 B
Python
18 lines
332 B
Python
|
# test builtin help function
|
||
|
|
||
|
try:
|
||
|
help
|
||
|
except NameError:
|
||
|
print("SKIP")
|
||
|
import sys
|
||
|
sys.exit()
|
||
|
|
||
|
help() # no args
|
||
|
help(help) # help for a function
|
||
|
help(int) # help for a class
|
||
|
help(1) # help for an instance
|
||
|
import micropython
|
||
|
help(micropython) # help for a module
|
||
|
|
||
|
print('done') # so last bit of output is predictable
|