Rémi Lapeyre <[email protected]> added the comment:
Note: when repr do not round trip, I think it's common practice to use brackets:
<LifoQueue('a'...'c')>
instead of:
LifoQueue('a'...'c')
Example with Regex from https://docs.python.org/3/howto/regex.html:
>>> re.match(r'From\s+', 'From amk Thu May 14 19:12:10 1998')
<re.Match object; span=(0, 5), match='From '>
----------
_______________________________________
Python tracker <[email protected]>
<https://bugs.python.org/issue36049>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe:
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com