Skip to content

Commit fd1c58f

Browse files
authored
Clarify that PyUnstable macros use "PyUnstable" prefix (#1158)
Discussion: python/cpython#108440 (comment)
1 parent 8bdf737 commit fd1c58f

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

developer-workflow/c-api.rst

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -217,6 +217,8 @@ Moving an API from the public tier to Unstable
217217
----------------------------------------------
218218

219219
* Expose the API under its new name, with the ``PyUnstable_`` prefix.
220+
The ``PyUnstable_`` prefix must be used for all symbols (functions, macros,
221+
variables, etc.).
220222
* Make the old name an alias (e.g. a ``static inline`` function calling the
221223
new function).
222224
* Deprecate the old name, typically using :c:macro:`Py_DEPRECATED`.

0 commit comments

Comments
 (0)