Skip to content

Commit

Permalink
Address Erlend's review
Browse files Browse the repository at this point in the history
  • Loading branch information
corona10 committed Sep 26, 2023
1 parent 66c617f commit 4a72ed4
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 1 deletion.
11 changes: 11 additions & 0 deletions Doc/c-api/init_config.rst
Original file line number Diff line number Diff line change
Expand Up @@ -878,6 +878,17 @@ PyConfig
.. versionadded:: 3.12
.. c:member:: int cpu_count
If the value of <cpu_count> is not ``-1`` then it will override
the return value of :func:`cpu_count` into <cpu_count>.
Configured by the :samp:`-X cpu_count={n}` command line
flag or the :envvar:`PYTHONCPUCOUNT` environment variable.
Default: ``-1``, it will follow the original behavior of :func:`cpu_count`.
.. versionadded:: 3.13
.. c:member:: int isolated
If greater than ``0``, enable isolated mode:
Expand Down
1 change: 0 additions & 1 deletion Include/cpython/initconfig.h
Original file line number Diff line number Diff line change
Expand Up @@ -180,7 +180,6 @@ typedef struct PyConfig {
int safe_path;
int int_max_str_digits;

// Python 3.13
int cpu_count;

/* --- Path configuration inputs ------------ */
Expand Down

0 comments on commit 4a72ed4

Please sign in to comment.