New submission from Petr Viktorin:
The Py_UNUSED macro, which was added in Python 3.4, is not documented. Is this an omission, or is it undocumented on purpose? I can prepare a patch if it's the former.
---------- assignee: docs@python components: Documentation messages: 284821 nosy: docs@python, encukou priority: normal severity: normal status: open title: Py_UNUSED is not documented versions: Python 3.4, Python 3.5, Python 3.6, Python 3.7
Petr Viktorin firstname.lastname@example.org added the comment:
Since the macro has a public name and is used in the wild outside CPython, I'll go ahead and submit a pull request documenting it.
STINNER Victor email@example.com added the comment:
New changeset 2138163621196a186975796afb2b0a6aa335231d by Victor Stinner (Petr Viktorin) in branch 'master': bpo-29179: Document the Py_UNUSED macro (#4341) https://github.com/python/cpython/commit/2138163621196a186975796afb2b0a6aa33...
---------- nosy: +haypo
Change by STINNER Victor firstname.lastname@example.org:
---------- resolution: -> fixed stage: patch review -> resolved status: open -> closed