8000 # gh-111700: Fix syntax highlighting for C code in the "What's New In… · python/cpython@9ce6c01 · GitHub
[go: up one dir, main page]

Skip to content

Commit 9ce6c01

Browse files
authored
# 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
1 parent 2849cbb commit 9ce6c01

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

Doc/whatsnew/3.12.rst

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -343,7 +343,9 @@ cores. This is currently only available through the C-API,
343343
though a Python API is :pep:`anticipated for 3.13 <554>`.
344344

345345
Use the new :c:func:`Py_NewInterpreterFromConfig` function to
346-
create an interpreter with its own GIL::
346+
create an interpreter with its own GIL:
347+
348+
.. code-block:: c
347349
348350
PyInterpreterConfig config = {
349351
.check_multi_interp_extensions = 1,

0 commit comments

Comments
 (0)
0