ssa: PyVal support bool,int,uint,string,bytearray,complex

This commit is contained in:
visualfc
2025-07-29 10:48:44 +08:00
parent 66fd3a552d
commit 0a6588c348
4 changed files with 250 additions and 5 deletions

11
cl/_testpy/list/in.go Normal file
View 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)
}