New submission from Tal Hayon <talhay...@gmail.com>:
string_at and wstring_at first argument in docs in address but actually in code is ptr. See https://github.com/python/cpython/blob/750f484752763fe9ac1d6455780aabcb67f25508/Lib/ctypes/__init__.py#L513 https://github.com/python/cpython/blob/750f484752763fe9ac1d6455780aabcb67f25508/Lib/ctypes/__init__.py#L525 Noticed this when going over stubtest errors in typeshed. See pull request https://github.com/python/typeshed/pull/5204 ---------- components: ctypes messages: 390761 nosy: talhayon1 priority: normal severity: normal status: open title: ctypes string_at/wstring_at type: behavior versions: Python 3.10, Python 3.6, Python 3.7, Python 3.8, Python 3.9 _______________________________________ Python tracker <rep...@bugs.python.org> <https://bugs.python.org/issue43803> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com