diff @pyobject/subsref.m @ 262:0a8983533192

* @pyobject/subsref.m: Fix small lambda syntax error with Python 3.
author Mike Miller <mtmiller@octave.org>
date Fri, 29 Jul 2016 10:51:15 -0700
parents daf1aff501f1
children 24faaa3cf5e5
line wrap: on
line diff
--- a/@pyobject/subsref.m	Fri Jul 29 10:48:43 2016 -0700
+++ b/@pyobject/subsref.m	Fri Jul 29 10:51:15 2016 -0700
@@ -48,7 +48,7 @@
       pyexec ("import collections")
       pyexec ("import numpy")
       x_is_list = pycall (pyeval (
-        "lambda (x): isinstance(x, (collections.Sequence, numpy.ndarray))"),
+        "lambda x: isinstance(x, (collections.Sequence, numpy.ndarray))"),
         x);
       for i = 1:length(t.subs)
         j = t.subs{i};