From 88b326e653195480597ff725e3bcfa5a98879b2e Mon Sep 17 00:00:00 2001 From: Antoine Pitrou Date: Fri, 8 Sep 2017 16:36:02 +0200 Subject: [PATCH] Remove explicit highlighting as pygments doesn't seem to be installed --- pep-0556.rst | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pep-0556.rst b/pep-0556.rst index 397903de5..ef70d2bde 100644 --- a/pep-0556.rst +++ b/pep-0556.rst @@ -128,7 +128,7 @@ or threaded. An internal structure ``gc_mutex`` is added to avoid two GC runs at once: -.. code-block:: c +.. code-block:: static struct { PyThread_type_lock collecting; /* taken when collecting */ @@ -139,7 +139,7 @@ An internal structure ``gc_mutex`` is added to avoid two GC runs at once: An internal structure ``gc_thread`` is added to handle synchronization with the GC thread: -.. code-block:: c +.. code-block:: static struct { PyThread_type_lock wakeup; /* acts as an event @@ -174,7 +174,7 @@ Here is a proposed pseudo-code for the main primitives, public and internal, required for implementing this PEP. All of them will be implemented in C and live inside the ``gc`` module, unless otherwise noted: -.. code-block:: python +.. code-block:: def collect_with_callback(generation): """