GeezerVison is showing github.com — Some C struct members are not marked up in docs · Issue #97909 · python/cpython
Some C struct members are not marked up in docs #97909DescriptionThe members of PyMemberDef aren't marked up as members, so they can't be linked to individually.
Linked PRs
Activityencukou commented on Oct 12, 2022 Johnny11502 commented on Oct 12, 2022 @encukou I would like to work on this issue. Thanks for the hint! Johnny11502 commented on Oct 14, 2022 @encukou Just to let you know, I did not forget about this issue and I have just been a bit busy at work this week. I will try and submit my PR tonight or tomorrow. Johnny11502 commented on Oct 14, 2022 @encukou I am a bit confused about what needs to be marked up as a member under PyMemberDef. I looked at PyType_Spec and saw how PyType_Spec.name and the members that follow were documented but I do not see what would need it for this issue. Would you please be able to specify the lines or text that needs to be corrected. encukou commented on Oct 17, 2022 The members (fields) are name, type, offset, etc. Currently they're defined in a table, so they don't show up when searching the docs for PyMemberDef.name (and when writing the docs, can't be linked using :c:member`PyMemberDef.name`).
The table should be converted to entries for the individual members. Johnny11502 commented on Oct 17, 2022 changed the title [-]PyMemberDef members are not marked up[/-] [+]PyMemberDef & PyGetSetDef members are not marked up[/+] on Oct 24, 2022encukou commented on Oct 24, 2022 PyGetSetDef is in the same situation, let's use this issue for that as well. Johnny11502 commented on Oct 24, 2022 @encukou I can update the members of PyGetSetDef as well since it would pretty much be the same if you don't mind. encukou commented on Oct 24, 2022 changed the title [-]PyMemberDef & PyGetSetDef members are not marked up[/-] [+]Some C struct members are not marked up in docs[/+] on Dec 6, 2022encukou commented on Dec 6, 2022 PyMethodDef could use the same treatment.
ramvikrams commented on Dec 7, 2022 hugovk commented on Jul 31, 2024 Triage: can this be closed? ZeroIntensity commented on Jan 28, 2025 I'm pretty confident that this is done.
MetadataMetadataDevelopmentNo branches or pull requestsIssue actions
|