mirror of
https://github.com/python/cpython.git
synced 2025-09-28 19:25:27 +00:00
[3.12] GH- gh-111700: Fix syntax highlighting for C code in the "What's New In Python 3.12" documentation (GH-113609) (#113610)
GH- gh-111700: Fix syntax highlighting for C code in the "What's New In Python 3.12" documentation (GH-113609)
Fix PEP 684 syntax highlighting in what's new Python 3.12
(cherry picked from commit 9ce6c01e38
)
Co-authored-by: Parth Doshi <doshi.parth9@gmail.com>
This commit is contained in:
parent
f3d3663a47
commit
c7a1431c43
1 changed files with 3 additions and 1 deletions
|
@ -343,7 +343,9 @@ cores. This is currently only available through the C-API,
|
||||||
though a Python API is :pep:`anticipated for 3.13 <554>`.
|
though a Python API is :pep:`anticipated for 3.13 <554>`.
|
||||||
|
|
||||||
Use the new :c:func:`Py_NewInterpreterFromConfig` function to
|
Use the new :c:func:`Py_NewInterpreterFromConfig` function to
|
||||||
create an interpreter with its own GIL::
|
create an interpreter with its own GIL:
|
||||||
|
|
||||||
|
.. code-block:: c
|
||||||
|
|
||||||
PyInterpreterConfig config = {
|
PyInterpreterConfig config = {
|
||||||
.check_multi_interp_extensions = 1,
|
.check_multi_interp_extensions = 1,
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue