I decided to do a quick count of the length, by using WeasyPrint to
convert the HTML pages to PDF files, and totalling up the number of
PDF pages generated.
For the core language (files /usr/share/doc/python3.14/html/reference/*.html), I counted 271 pages
total.
For the builtins (files
/usr/share/doc/python3.14/html/builtins/*.html), I counted 218 pages
total.
These counts might be slight overestimates. I saw a couple of extra
pages with no body text in one or two PDF files ...
On Fri, 30 Oct 2026 04:25:56 -0000 (UTC), I wrote:
I decided to do a quick count of the length, by using WeasyPrint to
convert the HTML pages to PDF files, and totalling up the number of
PDF pages generated.
I have rerun my tests, this time adding the following simple
stylesheet to WeasyPrint:
body
{
font-size : 10pt
Very likely the C (not C++) documentation is a dozen pages, maybe 30
with the libc.
Something to consider is how much this is measuring the complexity
of the language and how much it's measuring the verbosity of the documentation style.
Also Python's built-in types are documented in the Library Reference
rather than the Language Reference.
When measuring complexity of the core language, you should probably
include the standard types section of the Library Reference.
Something to consider is how much this is measuring the complexity of
the language and how much it's measuring the verbosity of the
documentation style.
Also Python's built-in types are documented in the Library Reference
rather than the Language Reference. When measuring complexity of the
core language, you should probably include the standard types section of
the Library Reference.
Greg Ewing <greg.ewing@canterbury.ac.nz> wrote or quoted:
Something to consider is how much this is measuring the complexity of
the language and how much it's measuring the verbosity of the
documentation style.
The specifications of C and C++ are much more formal
with many more details than the reference for Python.
For example, this is from a recent C++ draft:
The specifications of C and C++ are much more formal with many more
details than the reference for Python.
For example, this is from a recent C++ draft:
A constraint P subsumes a constraint Q if and only if, for every
disjunctive clause P_i in the disjunctive normal form of P, P_i
subsumes every conjunctive clause Q_j in the conjunctive normal
form of Q, where (1.1) - a disjunctive clause P_i subsumes a
conjunctive clause Q_j if and only if there exists an atomic
constraint P_{ia} in P_i for which there exists an atomic
constraint Q_jb in Q_j such that P_{ia} subsumes Q_{jb}, (1.2) -
an atomic constraint A subsumes another atomic constraint B if
and only if A and B are identical using the rules described in
13.5.2.3, and (1.3) - a fold expanded constraint A subsumes
another fold expanded constraint B if they are compatible for
subsumption, have the same fold-operator, and the constraint of
A subsumes that of B.
. This is not language being verbose, this is actually
specifying relevant details tersely.
| Sysop: | Tetrazocine |
|---|---|
| Location: | Melbourne, VIC, Australia |
| Users: | 4 |
| Nodes: | 8 (0 / 8) |
| Uptime: | 129:55:27 |
| Calls: | 222 |
| Files: | 21,513 |
| Messages: | 86,136 |