8000 gh-134160: Use multi-phase init in documentation examples by neonene · Pull Request #134296 · python/cpython · GitHub
[go: up one dir, main page]

Skip to content

gh-134160: Use multi-phase init in documentation examples #134296

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 24 commits into from
May 26, 2025
Merged
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
Prev Previous commit
Next Next commit
Cancel the prvious addition as needless
  • Loading branch information
neonene authored May 22, 2025
commit a28e67c3aa12b2d571d45304b1c2b3023b9cde3e
2 changes: 0 additions & 2 deletions Doc/extending/extending.rst
Original file line number Diff line number Diff line change
Expand Up @@ -1279,8 +1279,6 @@ function must take care of initializing the C API pointer array::

static PyModuleDef_Slot spam_module_slots[] = {
{Py_mod_exec, spam_module_exec},
// Just use this while using a local static variable
{Py_mod_multiple_interpreters, Py_MOD_MULTIPLE_INTERPRETERS_NOT_SUPPORTED},
{0, NULL}
};

Expand Down
Loading
0