◐ Shell
clean mode source ↗

[3.7] bpo-38387: Formally document PyDoc_STRVAR and PyDoc_STR macros (GH-16607) by zware · Pull Request #19728 · python/cpython

@zware zware commented

Apr 27, 2020

edited by bedevere-bot

Loading

Copy link Copy Markdown

Member

Adds a short description of PyDoc_STRVAR and PyDoc_STR to "Useful macros" section of C-API docs.

Currently, there is one lone mention in the C-API reference, despite the fact that PyDoc_STRVAR is ubiquitous to Modules/.

Additionally, this properly uses c:macro within Doc/c-api/module.rst to link..
(cherry picked from commit b54e46c)

Authored-by: Brad Solomon brad.solomon.1124@gmail.com

https://bugs.python.org/issue38387