[issue40066] Enum: modify __repr__, __str__; update docs
STINNER Victor
report at bugs.python.org
Mon Jan 17 10:24:46 EST 2022
STINNER Victor <vstinner at python.org> added the comment:
> self.assertEqual(repr(type), '<SocketKind.SOCK_STREAM: 1>')
For this one, I suggest to replace the value with "..." doctest pattern.
----------
_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue40066>
_______________________________________
More information about the Python-bugs-list
mailing list