8000 GH-121970: Rewrite the C-API annotations extension by AA-Turner · Pull Request #121985 · python/cpython · GitHub
[go: up one dir, main page]

Skip to content

GH-121970: Rewrite the C-API annotations extension #121985

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

Merged
merged 9 commits into from
Jul 19, 2024
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Next Next commit
GH-121970: Rewrite the C-API annotations extension
  • Loading branch information
AA-Turner committed Jul 18, 2024
commit fd6de2f1d4b5cb1e88545621413732d096506ea8
6 changes: 4 additions & 2 deletions Doc/c-api/module.rst
Original file line number Diff line number Diff line change
Expand Up @@ -342,7 +342,8 @@ The available slot types are:
The *value* pointer of this slot must point to a function of the signature:

.. c:function:: PyObject* create_module(PyObject *spec, PyModuleDef *def)
:noindex:
:no-index-entry:
:no-contents-entry:

The function receives a :py:class:`~importlib.machinery.ModuleSpec`
instance, as defined in :PEP:`451`, and the module definition.
Expand Down Expand Up @@ -377,7 +378,8 @@ The available slot types are:
The signature of the function is:

.. c:function:: int exec_module(PyObject* module)
:noindex:
:no-index-entry:
:no-contents-entry:

If multiple ``Py_mod_exec`` slots are specified, they are processed in the
order they appear in the *m_slots* array.
Expand Down
Loading
0