# 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:
Parth Doshi 2024-01-01 00:08:05 -08:00 committed by GitHub
parent 2849cbb53a
commit 9ce6c01e38
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 1 deletions

View File

@ -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,