File tree Expand file tree Collapse file tree 1 file changed +0
-2
lines changed Expand file tree Collapse file tree 1 file changed +0
-2
lines changed Original file line number Diff line number Diff line change @@ -1329,7 +1329,6 @@ def _asdict_inner(obj, dict_factory):
1329
1329
if hasattr (type (obj ), 'default_factory' ):
1330
1330
# obj is a defaultdict, which has a different constructor from
1331
1331
# dict as it requires the default_factory as its first arg.
1332
- # https://bugs.python.org/issue35540
1333
1332
result = type (obj )(getattr (obj , 'default_factory' ))
1334
1333
for k , v in obj .items ():
1335
1334
result [_asdict_inner (k , dict_factory )] = _asdict_inner (v , dict_factory )
@@ -1389,7 +1388,6 @@ def _astuple_inner(obj, tuple_factory):
1389
1388
if hasattr (type (obj ), 'default_factory' ):
1390
1389
# obj is a defaultdict, which has a different constructor from
1391
1390
# dict as it requires the default_factory as its first arg.
1392
- # https://bugs.python.org/issue35540
1393
1391
result = type (obj )(getattr (obj , 'default_factory' ))
1394
1392
for k , v in obj .items ():
1395
1393
result [_astuple_inner (k , tuple_factory )] = _asdict_inner (v , tuple_factory )
You can’t perform that action at this time.
0 commit comments