diff options
author | Zachary Ware <zach@python.org> | 2020-04-27 02:45:05 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-04-27 02:45:05 (GMT) |
commit | ca5649c4c1ab260c8ceb8a57ec703c06e2707986 (patch) | |
tree | 03a8a707323c338f72f214a81d1337e80b387495 /Python/pythonrun.c | |
parent | 179f22c3b786ce9baa3445923f8f9708dfa5d5b7 (diff) | |
download | cpython-ca5649c4c1ab260c8ceb8a57ec703c06e2707986.zip cpython-ca5649c4c1ab260c8ceb8a57ec703c06e2707986.tar.gz cpython-ca5649c4c1ab260c8ceb8a57ec703c06e2707986.tar.bz2 |
[3.8] bpo-38387: Formally document PyDoc_STRVAR and PyDoc_STR macros (GH-16607) (GH-19727)
Adds a short description of `PyDoc_STRVAR` and `PyDoc_STR` to "Useful macros" section of C-API docs.
Currently, there is [one lone mention](https://docs.python.org/3/c-api/module.html?highlight=pydoc_strvarGH-c.PyModuleDef) 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>
Diffstat (limited to 'Python/pythonrun.c')
0 files changed, 0 insertions, 0 deletions