[Python-Dev] Another case for frozendict (original) (raw)
dw+python-dev at hmmz.org dw+python-dev at hmmz.org
Sun Jul 13 20:50:18 CEST 2014
- Previous message: [Python-Dev] Another case for frozendict
- Next message: [Python-Dev] Another case for frozendict
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
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
- Previous message: [Python-Dev] Another case for frozendict
- Next message: [Python-Dev] Another case for frozendict
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]