Terry J. Reedy <tjre...@udel.edu> added the comment:
This block is the same in 3.9 and 3.8. My first though is this block is a holdover from 2.7, where range returned list. But looking at what is written previously, I think your interpretation is correct -- and agree that something other that code and corresponding output in a code block is confusing. So this might better be a list than a code block. Cheryl, do you have an idea of what might be better? ---------- assignee: -> docs@python components: +Documentation nosy: +cheryl.sabella, docs@python, terry.reedy stage: -> needs patch type: -> behavior versions: +Python 3.8, Python 3.9 _______________________________________ Python tracker <rep...@bugs.python.org> <https://bugs.python.org/issue40620> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com