mirror of
https://github.com/python/cpython.git
synced 2025-12-31 04:23:37 +00:00
Change the declaration of the keywords parameter in functions PyArg_ParseTupleAndKeywords() and PyArg_VaParseTupleAndKeywords() from `char **` to `char * const *` in C and `const char * const *` in C++. It makes these functions compatible with argument of type `const char * const *`, `const char **` or `char * const *` in C++ and `char * const *` in C without explicit type cast. Co-authored-by: C.A.M. Gerlach <CAM.Gerlach@Gerlach.CAM>
3 lines
171 B
ReStructuredText
3 lines
171 B
ReStructuredText
Change the declaration of the *keywords* parameter of
|
|
:c:func:`PyArg_ParseTupleAndKeywords` and
|
|
:c:func:`PyArg_VaParseTupleAndKeywords` for better compatibility with C++.
|