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 bgailer
Recipients bgailer, docs@python, terry.reedy
Date 2019-06-27.23:00:46
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1561676447.11.0.719620949302.issue37430@roundup.psfhosted.org>
In-reply-to
Content
Thanks for explaining. Indeed range appears in __builtins__. It is a surprise to type range and get <class 'range'> in response. sum otoh gives <built-in function sum>. The distinction between function, type and class seems muddy.

When I enter "range" in the index box in the windows documentation display I am offered: 

(1)built-in function, which takes me to the paragraph that started this issue. It does NOT take me to the built-in functions topic, whereas sum does.

(2) object, and range (built-in class)which take me to the built-in types topic. This seems to add to the confusion.
History
Date User Action Args
2019-06-27 23:00:47bgailersetrecipients: + bgailer, terry.reedy, docs@python
2019-06-27 23:00:47bgailersetmessageid: <1561676447.11.0.719620949302.issue37430@roundup.psfhosted.org>
2019-06-27 23:00:47bgailerlinkissue37430 messages
2019-06-27 23:00:46bgailercreate