Skip to content

Commit df9cb83

Browse files
committed
Update sample code
1 parent fff7795 commit df9cb83

1 file changed

Lines changed: 2 additions & 3 deletions

File tree

SampleCode/Program.cs

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -54,9 +54,8 @@ private static async Task Sample()
5454

5555
Console.WriteLine(result);
5656

57-
// Numpy module
58-
var np = PythonModule.Get<Numpy>();
59-
Console.WriteLine(np.array((int[]) [ 1, 2, 3, 4, 5 ]));
57+
var numpy = PythonModule.Get<Numpy>();
58+
Console.WriteLine(numpy.array((int[]) [ 1, 2, 3, 4, 5 ]));
6059
}
6160

6261
using (var handle = AsyncPythonHandle.Create())

0 commit comments

Comments
 (0)