This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author terry.reedy
Recipients bgailer, docs@python, terry.reedy
Date 2019-06-27.16:19:19
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1561652359.92.0.988981448701.issue37430@roundup.psfhosted.org>
In-reply-to
Content
I presume you are referring to 8.3 of the language reference
https://docs.python.org/3/reference/compound_stmts.html#the-for-statement
which has "the built-in function range()".  Types/classes *are* functions, which is why dist, list, range, etc are listed in "Built-in Functions" in the library reference.  But I agree that the more specific term should be used.

To me, the more severe problem is with the complete sentence.

"Hint: the built-in function range() returns an iterator of integers suitable to emulate the effect of Pascal’s for i := a to b do; e.g., list(range(3)) returns the list [0, 1, 2]."

The now obsolete definition of Python in terms of the now obscure Pascal should be deleted here and anywhere else such remains.  I think the whole sentence should just be deleted.  The whole paragraph and example could otherwise be improved.
History
Date User Action Args
2019-06-27 16:19:19terry.reedysetrecipients: + terry.reedy, bgailer, docs@python
2019-06-27 16:19:19terry.reedysetmessageid: <1561652359.92.0.988981448701.issue37430@roundup.psfhosted.org>
2019-06-27 16:19:19terry.reedylinkissue37430 messages
2019-06-27 16:19:19terry.reedycreate