[PATCH 9 of 9] check-code: Added a check for tuple parameter unpacking (unsupported in py3k)
Renato Cunha
renatoc at gmail.com
Fri Jul 2 09:38:37 CDT 2010
On Fri, Jul 02, 2010 at 12:05:33PM +0900, Nicolas Dumazet wrote:
> > + (r'^\s*lambda\s*\(.*,.*\)',
> > + "tuple parameter unpacking not available in Python 3+"),
>
> I think that you want to remove the ^ here, and maybe even the \s. Why:
> somecall(lambda (x, y): 4)
Great! Done, thanks.
--
Renato Cunha <http://renatocunha.com>
Blog: http://valedotrovao.com
"Whatever happens, happens"
More information about the Mercurial-devel
mailing list