ssa: PyVal support py bytes
This commit is contained in:
@@ -7,7 +7,8 @@ import (
|
||||
)
|
||||
|
||||
func main() {
|
||||
x := py.List(true, false, 1, float32(2.1), 3.1, uint(4), 1+2i, complex64(3+4i), "hello", []byte("world"))
|
||||
x := py.List(true, false, 1, float32(2.1), 3.1, uint(4), 1+2i, complex64(3+4i),
|
||||
"hello", []byte("world"), [...]byte{1, 2, 3}, [...]byte{})
|
||||
y := py.List(std.Abs, std.Print, math.Pi)
|
||||
std.Print(x, y)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user