diff options
author | Eric V. Smith <ericvsmith@users.noreply.github.com> | 2018-05-14 21:16:52 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-05-14 21:16:52 (GMT) |
commit | 3059042410dce69806b94be72d5c8055d616f3a3 (patch) | |
tree | c5159a0e2b608d32526b74d92ea0d53f8079cf98 /Lib/dataclasses.py | |
parent | 00717a46a120dd8c8c74970fd75d201a5f42ab18 (diff) | |
download | cpython-3059042410dce69806b94be72d5c8055d616f3a3.zip cpython-3059042410dce69806b94be72d5c8055d616f3a3.tar.gz cpython-3059042410dce69806b94be72d5c8055d616f3a3.tar.bz2 |
bpo-33502: dataclass._Dataclassparams repr: use repr of each member. (GH-6812)
Diffstat (limited to 'Lib/dataclasses.py')
-rw-r--r-- | Lib/dataclasses.py | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/Lib/dataclasses.py b/Lib/dataclasses.py index c60eeaa..2ce6a02 100644 --- a/Lib/dataclasses.py +++ b/Lib/dataclasses.py @@ -274,12 +274,12 @@ class _DataclassParams: def __repr__(self): return ('_DataclassParams(' - f'init={self.init},' - f'repr={self.repr},' - f'eq={self.eq},' - f'order={self.order},' - f'unsafe_hash={self.unsafe_hash},' - f'frozen={self.frozen}' + f'init={self.init!r},' + f'repr={self.repr!r},' + f'eq={self.eq!r},' + f'order={self.order!r},' + f'unsafe_hash={self.unsafe_hash!r},' + f'frozen={self.frozen!r}' ')') |