Skip to content
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

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

Open
tomasr8 opened this issue Aug 5, 2023 · 0 comments
Open

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

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

Comments

@tomasr8
Copy link
Contributor

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 bugs and security fixes 3.13 new features, 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>
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 bugs and security fixes 3.13 new features, 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

3 participants