]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
gh-124962: Convert leftover rst to markup in `InternalDocs/compiler.md` (#124971)
authorisaacjones99 <82098317+isaacjones99@users.noreply.github.com>
Fri, 4 Oct 2024 14:23:02 +0000 (15:23 +0100)
committerGitHub <noreply@github.com>
Fri, 4 Oct 2024 14:23:02 +0000 (19:53 +0530)
Co-authored-by: Bénédikt Tran <10796600+picnixz@users.noreply.github.com>
InternalDocs/compiler.md

index ba31e16c3bbeaa7a27f38968861a21251e745498..f27e73b274511f0f1a3edbf71d73d19a18134fe6 100644 (file)
@@ -324,14 +324,14 @@ basic block.
 
 As an example, consider the following code snippet:
 
-.. code-block:: Python
-
-   if x < 10:
-       f1()
-       f2()
-   else:
-       g()
-   end()
+```python
+if x < 10:
+    f1()
+    f2()
+else:
+    g()
+end()
+```
 
 The ``x < 10`` guard is represented by its own basic block that
 compares ``x`` with ``10`` and then ends in a conditional jump based on