mirror of https://github.com/python/cpython
# gh-111700: Fix syntax highlighting for C code in the "What's New In Python 3.12" documentation (#113609)
Fix PEP 684 syntax highlighting in what's new Python 3.12
This commit is contained in:
parent
2849cbb53a
commit
9ce6c01e38
|
@ -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…
Reference in New Issue