Skip to content

Commit

Permalink
exception for py3.6
Browse files Browse the repository at this point in the history
  • Loading branch information
willmcgugan committed Oct 6, 2021
1 parent a2b4a95 commit 94b008a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion rich/pretty.py
Original file line number Diff line number Diff line change
Expand Up @@ -628,7 +628,7 @@ def iter_attrs() -> Iterable[
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:
Expand Down

0 comments on commit 94b008a

Please sign in to comment.