mirror of https://github.com/go-python/gopy.git
test: hi.Person.String
This commit is contained in:
parent
37a7f18235
commit
b7b84b89bc
|
@ -39,6 +39,9 @@ print p.Greet.__doc__
|
|||
print "--- p.Greet()..."
|
||||
print p.Greet()
|
||||
|
||||
print "--- p.String()..."
|
||||
print p.String()
|
||||
|
||||
print "--- doc(p):"
|
||||
print p.__doc__
|
||||
|
||||
|
|
|
@ -89,6 +89,8 @@ Greet sends greetings
|
|||
|
||||
--- p.Greet()...
|
||||
Hello, I am
|
||||
--- p.String()...
|
||||
hi.Person{Name="", Age=0}
|
||||
--- doc(p):
|
||||
Person is a simple struct
|
||||
|
||||
|
|
Loading…
Reference in New Issue