Message390791
> I'd favor updating them all to say "ptr", because changing the name of the runtime parameter would risk breaking users' code.
I also certainly agree with that. Moreover, the documentation and docstring uses the name "address" and "addr" respectively which are misleading because it is asking for ctypes.c_char_p or ctypes.c_wchar_p which are C pointer types, it is not asking for the address of instances of ctypes.c_char_p or ctypes.c_wchar_p. Therefore a change in the documentation and docstring is required.
Note - If this issue is confirmed then I'll submit a PR to apply the change as described in this issue. |
|
Date |
User |
Action |
Args |
2021-04-11 19:19:38 | shreyanavigyan | set | recipients:
+ shreyanavigyan, docs@python, JelleZijlstra, talhayon1 |
2021-04-11 19:19:38 | shreyanavigyan | set | messageid: <1618168778.22.0.471032842483.issue43803@roundup.psfhosted.org> |
2021-04-11 19:19:38 | shreyanavigyan | link | issue43803 messages |
2021-04-11 19:19:38 | shreyanavigyan | create | |
|