Skip to content

Commit 8aa1b3d

Browse files
committed
removed links to the bugs
1 parent 81d9170 commit 8aa1b3d

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

Lib/dataclasses.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1329,7 +1329,6 @@ def _asdict_inner(obj, dict_factory):
13291329
if hasattr(type(obj), 'default_factory'):
13301330
# obj is a defaultdict, which has a different constructor from
13311331
# dict as it requires the default_factory as its first arg.
1332-
# https://bugs.python.org/issue35540
13331332
result = type(obj)(getattr(obj, 'default_factory'))
13341333
for k, v in obj.items():
13351334
result[_asdict_inner(k, dict_factory)] = _asdict_inner(v, dict_factory)
@@ -1389,7 +1388,6 @@ def _astuple_inner(obj, tuple_factory):
13891388
if hasattr(type(obj), 'default_factory'):
13901389
# obj is a defaultdict, which has a different constructor from
13911390
# dict as it requires the default_factory as its first arg.
1392-
# https://bugs.python.org/issue35540
13931391
result = type(obj)(getattr(obj, 'default_factory'))
13941392
for k, v in obj.items():
13951393
result[_astuple_inner(k, tuple_factory)] = _asdict_inner(v, tuple_factory)

0 commit comments

Comments
 (0)