-
-
Notifications
You must be signed in to change notification settings - Fork 30.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Use the C domain roles consistently in the documentation #107091
Comments
(cherry picked from commit 08a228d) Co-authored-by: Serhiy Storchaka <[email protected]>
…107092). (cherry picked from commit 08a228d) Co-authored-by: Serhiy Storchaka <[email protected]>
…107113) (cherry picked from commit 08a228d) Co-authored-by: Serhiy Storchaka <[email protected]>
|
The former is the most frequent used, so it would be less churn to change |
Another option is to keep both |
(cherry picked from commit af61cb9) Co-authored-by: Serhiy Storchaka <[email protected]>
…7129). (cherry picked from commit af61cb9) Co-authored-by: Serhiy Storchaka <[email protected]>
(cherry picked from commit 6d5b6e7) Co-authored-by: Serhiy Storchaka <[email protected]>
Fix also formatting of PyMethodDef members.
Fix also formatting of PyMethodDef members.. (cherry picked from commit d363eb5) Co-authored-by: Serhiy Storchaka <[email protected]>
Fix also formatting of PyMethodDef members.. (cherry picked from commit d363eb5) Co-authored-by: Serhiy Storchaka <[email protected]>
:c:func: or :c:macro: should be used instead.
It is for references, not for literals.
It is for references, not for literals.
It is for references, not for literals. (cherry picked from commit 0aa58fa) Co-authored-by: Serhiy Storchaka <[email protected]>
It is for references, not for literals. (cherry picked from commit 0aa58fa) Co-authored-by: Serhiy Storchaka <[email protected]>
It is for references, not for literals. (cherry picked from commit 0aa58fa) Co-authored-by: Serhiy Storchaka <[email protected]>
It is for references, not for literals. (cherry picked from commit 0aa58fa) Co-authored-by: Serhiy Storchaka <[email protected]>
:c:func: or :c:macro: should be used instead.
:c:func: or :c:macro: should be used instead.. (cherry picked from commit 413ba89) Co-authored-by: Serhiy Storchaka <[email protected]>
:c:func: or :c:macro: should be used instead.. (cherry picked from commit 413ba89) Co-authored-by: Serhiy Storchaka <[email protected]>
:c:member:
,:c:data:
and:c:var:
are equivalent. I do not know whether there is a semantic difference between:c:data:
and:c:var:
(although I think that:c:member:
is semantically different and should be used for attributes).:c:member:
is used 813 times for 202 names.:c:data:
is used 265 times for 143 names::c:var:
is used 51 times for 28 names:In some cases
:data:
(purposed for use with Python names) is used with a C name. It is definitely error.In what cases should we use
:c:data:
and in what cases should we use:c:var:
? I do not see a system in the current use.Linked PRs
The text was updated successfully, but these errors were encountered: