# gh-111700: Fix syntax highlighting for C code in the "What's New In Python 3.12" documentation (#113609)
https://github.com/python/cpython/commit/9ce6c01e38a2fc7a5ce832f1f8c8d909713... commit: 9ce6c01e38a2fc7a5ce832f1f8c8d9097132556d branch: main author: Parth Doshi <doshi.parth9@gmail.com> committer: hugovk <hugovk@users.noreply.github.com> date: 2024-01-01T10:08:05+02:00 summary: # 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 files: M Doc/whatsnew/3.12.rst diff --git a/Doc/whatsnew/3.12.rst b/Doc/whatsnew/3.12.rst index 8551b35438e2c3..9a2ccf7ebc6a68 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,
participants (1)
-
hugovk