cl: funcOf fix: call pyfunc multiple times
This commit is contained in:
@@ -9,7 +9,7 @@ func main() {
|
||||
x := std.Max(py.Float(3.0), py.Float(9.0), py.Float(23.0), py.Float(100.0))
|
||||
std.Print(x)
|
||||
|
||||
// y := py.List(3.0, 9.0, 23.0, 100.0)
|
||||
// ymax := std.Max(std.Iter(y))
|
||||
// std.Print(ymax)
|
||||
list := py.List(3.0, 9.0, 23.0, 100.0)
|
||||
y := std.Max(std.Iter(list))
|
||||
std.Print(y)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user