summaryrefslogtreecommitdiffstats
path: root/Doc/whatsnew
diff options
context:
space:
mode:
authorParth Doshi <doshi.parth9@gmail.com>2024-01-01 08:08:05 (GMT)
committerGitHub <noreply@github.com>2024-01-01 08:08:05 (GMT)
commit9ce6c01e38a2fc7a5ce832f1f8c8d9097132556d (patch)
tree903ebc69c58110796f09444f7763cced22b9ac38 /Doc/whatsnew
parent2849cbb53afc8c6a4465f1b3490c67c2455caf6f (diff)
downloadcpython-9ce6c01e38a2fc7a5ce832f1f8c8d9097132556d.zip
cpython-9ce6c01e38a2fc7a5ce832f1f8c8d9097132556d.tar.gz
cpython-9ce6c01e38a2fc7a5ce832f1f8c8d9097132556d.tar.bz2
# 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
Diffstat (limited to 'Doc/whatsnew')
-rw-r--r--Doc/whatsnew/3.12.rst4
1 files changed, 3 insertions, 1 deletions
diff --git a/Doc/whatsnew/3.12.rst b/Doc/whatsnew/3.12.rst
index 8551b35..9a2ccf7 100644
--- a/Doc/whatsnew/3.12.rst
+++ b/Doc/whatsnew/3.12.rst
@@ -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>`.
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 = {
.check_multi_interp_extensions = 1,