[Python-Dev] Another case for frozendict

dw+python-dev at hmmz.org dw+python-dev at hmmz.org
Sun Jul 13 20:50:18 CEST 2014


On Sun, Jul 13, 2014 at 06:43:28PM +0000, dw+python-dev at hmmz.org wrote:

>             if d:
>                 d = d.copy()

To cope with iterables, "d = d.copy()" should have read "d = dict(d)".


David


More information about the Python-Dev mailing list