Skip to content

gh-62480: De-personalize docs on using the C API#151784

Open
RafaelWO wants to merge 1 commit into
python:mainfrom
RafaelWO:change/docs-less-personal-extending
Open

gh-62480: De-personalize docs on using the C API#151784
RafaelWO wants to merge 1 commit into
python:mainfrom
RafaelWO:change/docs-less-personal-extending

Conversation

@RafaelWO

@RafaelWO RafaelWO commented Jun 20, 2026

Copy link
Copy Markdown
Contributor

This rephrases parts of the documentation on using the C API to remove first-person pronouns.

This rephrases parts of the documentation on using the C API
to remove first-person pronouns.
@read-the-docs-community

Copy link
Copy Markdown

Documentation build overview

📚 cpython-previews | 🛠️ Build #33228002 | 📁 Comparing 6300ea7 against main (aa5b164)

  🔍 Preview build  

1 file changed
± extending/extending.html

Comment on lines +234 to +237
standard interface to call a Python function. (If you're interested in how to call the
Python parser with a particular string as input, have a look at the implementation of
the :option:`-c` command line option in :file:`Modules/main.c` from the Python source
code.)

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
standard interface to call a Python function. (If you're interested in how to call the
Python parser with a particular string as input, have a look at the implementation of
the :option:`-c` command line option in :file:`Modules/main.c` from the Python source
code.)
standard interface to call a Python function. (If you're interested in how to call the
Python parser with a particular string as input, see :ref:`veryhigh`.)

While we're here, I think we can make this more user friendly. I presume this text was written long ago, before the current comprehensive documentation. (main.c calls _PyRun_SimpleStringFlagsWithName which is exposed, in parts, by various functions detailed on the page.)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

awaiting merge docs Documentation in the Doc dir skip news

Projects

Status: Todo

Development

Successfully merging this pull request may close these issues.

3 participants