[issue35200] Range repr could be better

Steven D'Aprano report at bugs.python.org
Fri Nov 9 18:03:54 EST 2018


Steven D'Aprano <steve+python at pearwood.info> added the comment:

Not everyone knows the '...' convention. At least according to Google's predictive search, if I type "what does three dots" I get common searches such as "what does three dots mean at the end of a sentence" and similar.

How does your proposed repr look for the edge-cases where there are fewer than five included values? e.g. range(0).

----------
nosy: +steven.daprano

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue35200>
_______________________________________


More information about the Python-bugs-list mailing list