* locals().update(mydict)

2017-06-08 0:59 GMT+02:00 Antoine Rozo <antoine.r...@gmail.com>:

> I think you want something similar to locals.update(mydict)?
>
> 2017-06-08 0:54 GMT+02:00 Erik <pyt...@lucidity.plus.com>:
>
>> On 07/06/17 23:42, C Anthony Risinger wrote:
>>
>>> Neither of these are really comparable to destructuring.
>>>
>>
>> No, but they are comparable to the OP's suggested new built-in method
>> (without requiring each mapping type - not just dicts - to implement it).
>> That was what _I_ was responding to.
>>
>>
>> E.
>> _______________________________________________
>> Python-ideas mailing list
>> Python-ideas@python.org
>> https://mail.python.org/mailman/listinfo/python-ideas
>> Code of Conduct: http://python.org/psf/codeofconduct/
>>
>
>
>
> --
> Antoine Rozo
>



-- 
Antoine Rozo
_______________________________________________
Python-ideas mailing list
Python-ideas@python.org
https://mail.python.org/mailman/listinfo/python-ideas
Code of Conduct: http://python.org/psf/codeofconduct/

Reply via email to