You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
18 lines
364 B
18 lines
364 B
4 years ago
|
# test builtin help function
|
||
|
|
||
|
try:
|
||
|
help
|
||
|
except NameError:
|
||
|
print("SKIP")
|
||
|
raise SystemExit
|
||
|
|
||
|
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
|
||
|
help('modules') # list available modules
|
||
|
|
||
|
print('done') # so last bit of output is predictable
|