exception for py3.6

This commit is contained in:
Will McGugan 2021-10-06 13:46:03 +01:00
parent a2b4a959dc
commit 94b008acb9
1 changed files with 1 additions and 1 deletions

View File

@ -628,7 +628,7 @@ def traverse(
is_dataclass(obj)
and not isinstance(obj, type)
and not fake_attributes
and _is_dataclass_repr(obj)
and (_is_dataclass_repr(obj) or py_version == (3, 6))
):
obj_id = id(obj)
if obj_id in visited_ids: