Skip to content
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

Add 'C API' to the style guide #1222

Merged
merged 4 commits into from
Nov 26, 2023
Merged

Add 'C API' to the style guide #1222

merged 4 commits into from
Nov 26, 2023

Conversation

hugovk
Copy link
Member

@hugovk hugovk commented Nov 18, 2023

This is often written "C-API" but "C API" is both more common and used at https://docs.python.org/3/c-api/

In the CPython repo:

rg "C API" | wc -l
    1039rg "C-API" | wc -l
      69

In the devguide (before this PR fixes the lone "C-API"):

rg "C API" | wc -l
      25rg "C-API" | wc -l
       1

📚 Documentation preview 📚: https://cpython-devguide--1222.org.readthedocs.build/documentation/style-guide/#capitalization

@hugovk hugovk merged commit a9aaedf into python:main Nov 26, 2023
@hugovk hugovk deleted the style-guide-c-api branch November 26, 2023 13:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants