summaryrefslogtreecommitdiff
path: root/tests/basics/builtin_help.py
blob: 902a95175b2063822690f1c61cf2213011ccd558 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
# 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