ctypes: Add docstrings for ctypes.pointer and ctypes.POINTER #107659
Copy link
Copy link
Closed
Labels
3.11only security fixesonly security fixes3.12only security fixesonly security fixes3.13only security fixesonly security fixesdocsDocumentation in the Doc dirDocumentation in the Doc dirtopic-ctypestype-featureA feature request or enhancementA feature request or enhancement
Description
ctypes.pointer and ctypes.POINTER from the ctypes module are currently lacking docstrings. I suggest we add those.
Luckily, these functions are already documented in the docs so it should just be a matter of reusing the description from the docs.
It has also been recommended that we convert both functions to Argument Clinic when adding the docstrings.
Linked PRs
- gh-107659: ctypes: Add docstrings for
ctypes.pointerandctypes.POINTER#107660 - gh-107659: Add docstring for ctypes.POINTER & ctypes.ARRAY #107739
- gh-107659: Improve wording of the description of
ctypes.pointerandctypes.POINTER#107769 - [3.12] gh-107659: Improve wording of the description of
ctypes.pointerandctypes.POINTER(GH-107769) #108163 - [3.11] gh-107659: Improve wording of the description of
ctypes.pointerandctypes.POINTER(GH-107769) #108164
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
3.11only security fixesonly security fixes3.12only security fixesonly security fixes3.13only security fixesonly security fixesdocsDocumentation in the Doc dirDocumentation in the Doc dirtopic-ctypestype-featureA feature request or enhancementA feature request or enhancement
Projects
- StatusShow more project fieldsDone
Activity
gh-107659: Add docstrings for ctypes.pointer and ctypes.POINTER (#107660
gh-107659: Improve wording of the description of `ctypes.pointer` and…
pythongh-107659: Improve wording of the description of `ctypes.pointe…
pythongh-107659: Improve wording of the description of `ctypes.pointe…
[3.11] gh-107659: Improve wording of the description of `ctypes.point…
[3.12] gh-107659: Improve wording of the description of `ctypes.point…
encukou commentedon Sep 17, 2024
Both docstrings were added.