Terry J. Reedy added the comment:

I like this idea, including the function subdivisions. I once suggested moving 
the classes into the later builtins chapter, but it was pointed out to me that 
a) they once *were* functions (no longer relevant); b) they are callables (very 
relevant); and hence people who see "bytearray(b'abc')" might not know that 
bytearray *is* a class. A separate section could have a few lines of 
introduction explaining "Keyword 'class' and built-in name 'type' serve 
different roles in code. But when referring to a Python object, they are more 
or less synonyms. Classes are callable. The operators and methods of the 
instances returned by the following built-classes are explained in the Built-in 
Types section."

The index is another discovery method, one I use routinely, especially with the 
offline Windows help version of the docs, where one just types the first few 
letters of the name being sought in the index tab (much easier than the online 
click and search version). (Though the index entries might be improved a bit, 
that is another issue.)

code related: compile comes before eval and exec, both of which use compile on 
string input.

----------

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue16927>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to