[issue40620] Range tutorial shorthand could be made clearer

Terry J. Reedy <tjreedy@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 <report@bugs.python.org> <https://bugs.python.org/issue40620> _______________________________________
participants (1)
-
Terry J. Reedy