def foo((x, y)) is equivalent to def foo(arg): x, y = arg

It's just shorthand if you want to destructure a tuple in the argument list.



On Wed, Feb 20, 2013 at 6:11 PM, Alon Zakai <notifications@github.com>wrote:

> In emscripten.py:
>
> > @@ -47,16 +33,20 @@ def scan(ll, settings):
> >  MIN_CHUNK_SIZE = 1024*1024
> >  MAX_CHUNK_SIZE = float(os.environ.get('EMSCRIPT_MAX_CHUNK_SIZE') or 'inf') # configuring this is just for debugging purposes
> >
> > -def process_funcs(args):
> > -  i, funcs, meta, settings_file, compiler, forwarded_file, libraries = args
> > +def process_funcs((i, funcs, meta, settings_file, compiler, forwarded_file, libraries, compiler_engine, temp_files)):
>
> Why are there double-parens here?
>
> —
> Reply to this email directly or view it on GitHub<https://github.com/kripken/emscripten/pull/826/files#r3092677>.
>
>



-- 
Chad Austin
Technical Director, IMVU
http://www.imvu.com/members/Chad/