Mercurial > pytave
changeset 269:8c543a859ba2
* @pyobject/subsasgn.m: Fix small lambda syntax error with Python 3.
author | Mike Miller <mtmiller@octave.org> |
---|---|
date | Fri, 29 Jul 2016 13:03:29 -0700 |
parents | 15666fdcbb45 |
children | 2cb6e2824776 |
files | @pyobject/subsasgn.m |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/@pyobject/subsasgn.m Fri Jul 29 12:39:07 2016 -0700 +++ b/@pyobject/subsasgn.m Fri Jul 29 13:03:29 2016 -0700 @@ -43,7 +43,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 (idx.subs) j = idx.subs{i};