]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
[3.12] gh-87969: Align docs and docstrings with implementation for ctypes' [w]string_...
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Fri, 19 Apr 2024 11:23:26 +0000 (13:23 +0200)
committerGitHub <noreply@github.com>
Fri, 19 Apr 2024 11:23:26 +0000 (13:23 +0200)
commit26c659ecbd8c2b9b00c078d902d20396ce583fda
treec0f02b7aa7eb40d12a031e1272c814b804be719b
parentf278b8fefca7ad5d0e95c4b5df39807a80cf821a
[3.12] gh-87969: Align docs and docstrings with implementation for ctypes' [w]string_at() (GH-25384) (GH-118046)

gh-87969: Align docs and docstrings with implementation for ctypes' [w]string_at() (GH-25384)

The implementation uses 'ptr' for the name of the first parameter of
ctypes.string_at() and ctypes.wstring_at(). Align docs and docstrings
with the naming used in the implementation.

(cherry picked from commit 81a926bd20a8c66646e51b66ef1cfb309b73ebe7)

Co-authored-by: Shreyan Avigyan <shreyan.avigyan@gmail.com>
Co-authored-by: Irit Katriel <1055913+iritkatriel@users.noreply.github.com>
Co-authored-by: Erlend E. Aasland <erlend.aasland@protonmail.com>
Doc/library/ctypes.rst
Lib/ctypes/__init__.py