We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 87459d3 commit 998d7c8Copy full SHA for 998d7c8
domdf_python_tools/versions.py
@@ -52,8 +52,7 @@ def __repr__(self) -> str:
52
Return the representation of the version.
53
"""
54
55
- types = self.__annotations__
56
- field_names = list(types.keys())
+ field_names = self.__annotations__.keys()
57
repr_fmt = '(' + ', '.join(f"{name}=%r" for name in field_names) + ')'
58
return self.__class__.__name__ + repr_fmt % self
59
0 commit comments