ssa: PyVal support bool,int,uint,string,bytearray,complex
This commit is contained in:
11
cl/_testpy/list/in.go
Normal file
11
cl/_testpy/list/in.go
Normal file
@@ -0,0 +1,11 @@
|
||||
package main
|
||||
|
||||
import (
|
||||
"github.com/goplus/lib/py"
|
||||
"github.com/goplus/lib/py/std"
|
||||
)
|
||||
|
||||
func main() {
|
||||
x := py.List(true, false, 1, float32(2.1), 3.1, uint(4), 1+2i, complex64(3+4i), "hello", []byte("world"))
|
||||
std.Print(x)
|
||||
}
|
||||
Reference in New Issue
Block a user