test: print docs for funcs+module

This commit is contained in:
Sebastien Binet 2015-07-25 17:35:14 +02:00
parent 06ec70c37d
commit 878510074c
1 changed files with 12 additions and 0 deletions

View File

@ -1,11 +1,23 @@
import hi
print "--- doc(hi)..."
print hi.__doc__
print "--- doc(hi.Hi)..."
print hi.Hi.__doc__
print "--- hi.Hi()..."
hi.Hi()
print "--- doc(hi.Hello)..."
print hi.Hello.__doc__
print "--- hi.Hello('you')..."
hi.Hello("you")
print "--- doc(hi.Add)..."
print hi.Add.__doc__
print "--- hi.Add(1, 41)..."
print hi.Add(1,41)