Message346784
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. |
|
Date |
User |
Action |
Args |
2019-06-27 23:00:47 | bgailer | set | recipients:
+ bgailer, terry.reedy, docs@python |
2019-06-27 23:00:47 | bgailer | set | messageid: <1561676447.11.0.719620949302.issue37430@roundup.psfhosted.org> |
2019-06-27 23:00:47 | bgailer | link | issue37430 messages |
2019-06-27 23:00:46 | bgailer | create | |
|