8000 ctypes: Add docstrings for `ctypes.pointer` and `ctypes.POINTER` · Issue #107659 · python/cpython · GitHub
[go: up one dir, main page]

Skip to content

ctypes: Add docstrings for ctypes.pointer and ctypes.POINTER #107659

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
tomasr8 opened this issue Aug 5, 2023 · 1 comment
Closed

ctypes: Add docstrings for ctypes.pointer and ctypes.POINTER #107659

tomasr8 opened this issue Aug 5, 2023 · 1 comment
Labels
3.11 only security fixes 3.12 only security fixes 3.13 bugs and security fixes docs Documentation in the Doc dir topic-ctypes type-feature A feature request or enhancement

Comments

@tomasr8
Copy link
Member
tomasr8 commented Aug 5, 2023

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

@tomasr8 tomasr8 added the type-feature A feature request or enhancement label Aug 5, 2023
@AA-Turner AA-Turner added docs Documentation in the Doc dir 3.11 only security fixes 3.12 only security fixes 3.13 bugs and security fixes labels Aug 5, 2023
kumaraditya303 added a commit that referenced this issue Aug 20, 2023
… `ctypes.POINTER` (#107769)

Co-authored-by: Adam Turner <9087854+AA-Turner@users.noreply.github.com>
Co-authored-by: Kumar Aditya <kumaraditya@python.org>
miss-islington pushed a commit to miss-islington/cpython that referenced this issue Aug 20, 2023
…r` and `ctypes.POINTER` (pythonGH-107769)

(cherry picked from commit beffb30)

Co-authored-by: Tomas R <tomas.roun8@gmail.com>
Co-authored-by: Adam Turner <9087854+AA-Turner@users.noreply.github.com>
Co-authored-by: Kumar Aditya <kumaraditya@python.org>
miss-islington pushed a commit to miss-islington/cpython that referenced this issue Aug 20, 2023
…r` and `ctypes.POINTER` (pythonGH-107769)

(cherry picked from commit beffb30)

Co-authored-by: Tomas R <tomas.roun8@gmail.com>
Co-authored-by: Adam Turner <9087854+AA-Turner@users.noreply.github.com>
Co-authored-by: Kumar Aditya <kumaraditya@python.org>
kumaraditya303 added a commit that referenced this issue Aug 20, 2023
…er` and `ctypes.POINTER` (GH-107769) (#108164)

gh-107659: Improve wording of the description of `ctypes.pointer` and `ctypes.POINTER` (GH-107769)
(cherry picked from commit beffb30)

Co-authored-by: Tomas R <tomas.roun8@gmail.com>
Co-authored-by: Adam Turner <9087854+AA-Turner@users.noreply.github.com>
Co-authored-by: Kumar Aditya <kumaraditya@python.org>
Yhg1s pushed a commit that referenced this issue Aug 20, 2023
…er` and `ctypes.POINTER` (GH-107769) (#108163)

gh-107659: Improve wording of the description of `ctypes.pointer` and `ctypes.POINTER` (GH-107769)
(cherry picked from commit beffb30)

Co-authored-by: Tomas R <tomas.roun8@gmail.com>
Co-authored-by: Adam Turner <9087854+AA-Turner@users.noreply.github.com>
Co-authored-by: Kumar Aditya <kumaraditya@python.org>
@encukou
Copy link
Member
encukou commented Sep 17, 2024

Both docstrings were added.

@encukou encukou closed this as completed Sep 17, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
3.11 only security fixes 3.12 only security fixes 3.13 bugs and security fixes docs Documentation in the Doc dir topic-ctypes type-feature A feature request or enhancement
Projects
None yet
Development

No branches or pull requests

4 participants
0