Issue34116
Created on 2018-07-15 00:07 by adelfino, last changed 2022-04-11 14:59 by admin. This issue is now closed.
| Pull Requests | |||
|---|---|---|---|
| URL | Status | Linked | Edit |
| PR 8286 | closed | adelfino, 2018-07-15 00:22 | |
| Messages (3) | |||
|---|---|---|---|
| msg321667 - (view) | Author: Andrés Delfino (adelfino) * ![]() |
Date: 2018-07-15 00:07 | |
Right now, bytearray, bytes, complex, float and int documentation is splitted into stdtypes.rst and functions.rst. I think stdtypes.rst should be the only source with all documentation, and functions.rst should just point out to stdtypes.rst. This would make it easier to get the complete picture of a given type without having to jump between pages. This is how the documentation of dict, frozenset, list, memoryview, range, set, str and tuple works. I believe bool() is more useful in functions.rst, as it's really short. |
|||
| msg321669 - (view) | Author: Andrés Delfino (adelfino) * ![]() |
Date: 2018-07-15 00:24 | |
See talk at: https://python.zulipchat.com/#narrow/stream/116633-documentation/subject/Gather.20all.20type.20documentation.20in.20stdtypes |
|||
| msg321728 - (view) | Author: Raymond Hettinger (rhettinger) * ![]() |
Date: 2018-07-16 09:53 | |
I disagree that this would be an improvement. The current organization has worked well for us. In particular, some of the these types sometimes used like functions that produce a type (this is where the builtin functions docs do a good job). In the stdtypes docs, we go into detail about what the types do and have them grouped in a way that can be compared and contrasted. As a Python instructor, I ask newcomers to read the built-in functions section because it tells them a lot of what they need to know to get up and running with the language (indeed, that is why these are all builitins rather than relegated to modules). The stdtypes section is more voluminous and rarely read start to finish (mostly just used as a reference). |
|||
| History | |||
|---|---|---|---|
| Date | User | Action | Args |
| 2022-04-11 14:59:03 | admin | set | github: 78297 |
| 2018-07-16 09:53:26 | rhettinger | set | status: open -> closed nosy:
+ rhettinger resolution: rejected |
| 2018-07-15 00:24:23 | adelfino | set | messages: + msg321669 |
| 2018-07-15 00:22:45 | adelfino | set | keywords:
+ patch stage: patch review pull_requests: + pull_request7820 |
| 2018-07-15 00:07:30 | adelfino | create | |

