changeset 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 983a06be6a1b
children 0fc1a58d7e89
files @pyobject/subsref.m
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
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};