Skip to content

Commit d912569

Browse files
committed
Document Py_VA_COPY.
1 parent 2630329 commit d912569

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

Doc/c-api/intro.rst

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -502,6 +502,16 @@ complete listing.
502502
This macro is intended for defining CPython's C API itself;
503503
extension modules should not use it for their own symbols.
504504

505+
.. c:macro:: Py_VA_COPY
506+
507+
This is a :term:`soft deprecated` alias to the C99-standard ``va_copy``
508+
function.
509+
510+
Historically, this would use a compiler-specific method to copy a ``va_list``.
511+
512+
.. versionchanged:: 3.6
513+
This is now an alias to ``va_copy``.
514+
505515

506516
.. _api-objects:
507517

0 commit comments

Comments
 (0)