You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Fix docstrings that do not honor --without-doc-strings #91118
Note: these values reflect the state of the issue at the time it was migrated and might not reflect the current state.
Show more details
GitHub fields:
assignee=Noneclosed_at=Nonecreated_at=<Date2022-03-08.18:59:44.544>labels= ['extension-modules', 'interpreter-core', '3.11', 'type-bug', 'docs']
title='Fix docstrings that do not honor --without-doc-strings'updated_at=<Date2022-03-08.19:01:28.471>user='https://github.com/arhadthedev'
To support --without-doc-strings, all docstrings must be wrapped into PyDoc_STRVAR or PyDoc_STR (PEP-7). However, there are 18 occurrences in code and 10 in C API documentation that do not follow this rule. The documentation is important too because it should not teach people the wrong things.
To find the occurrences I searched for (?:^\s*.tp_doc = "|" \/\* tp_doc \*\/$) and^(?:static\s+)?const\s+char\s+[^=]+=\s*".
Activity
arhadthedev commentedon Mar 8, 2022
To support
--without-doc-strings, all docstrings must be wrapped intoPyDoc_STRVARorPyDoc_STR(PEP-7). However, there are 18 occurrences in code and 10 in C API documentation that do not follow this rule. The documentation is important too because it should not teach people the wrong things.To find the occurrences I searched for
(?:^\s*.tp_doc = "|" \/\* tp_doc \*\/$)and^(?:static\s+)?const\s+char\s+[^=]+=\s*".gh-91118: Fix docstrings that do not honor --without-doc-strings (#31769
JelleZijlstra commentedon Apr 18, 2022
Reopening until the backports are done.
[3.10] pythongh-91118: Fix docstrings that do not honor --without-doc…
pythongh-91118: Fix docstrings that do not honor --without-doc-strings (
[3.9] gh-91118: Fix docstrings that do not honor --without-doc-strings (
[3.10] gh-91118: Fix docstrings that do not honor --without-doc-strin…
[3.9] pythongh-91118: Fix docstrings that do not honor --without-doc-…