[issue43803] ctypes string_at/wstring_at - bad argument name used in docs and in docstring
Eryk Sun
report at bugs.python.org
Mon Apr 12 17:56:43 EDT 2021
Eryk Sun <eryksun at gmail.com> added the comment:
> If that's the problem then why not change all of them to use the
> name "address" or "addr" to avoid confusion and make it clear
> simple. What is your view?
Change them all to refer to `ptr`. It's not worth introducing a breaking change:
>>> ctypes.string_at(ptr=b'spam')
b'spam'
----------
_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue43803>
_______________________________________
More information about the Python-bugs-list
mailing list