https://github.com/python/cpython/commit/994051e086b9ce624a3b16750d6f692bc4a3b07b
commit: 994051e086b9ce624a3b16750d6f692bc4a3b07b
branch: main
author: isaacjones99 <[email protected]>
committer: kumaraditya303 <[email protected]>
date: 2024-10-04T19:53:02+05:30
summary:

gh-124962: Convert leftover rst to markup in `InternalDocs/compiler.md` 
(#124971)


Co-authored-by: Bénédikt Tran <[email protected]>

files:
M InternalDocs/compiler.md

diff --git a/InternalDocs/compiler.md b/InternalDocs/compiler.md
index ba31e16c3bbeaa..f27e73b274511f 100644
--- a/InternalDocs/compiler.md
+++ b/InternalDocs/compiler.md
@@ -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

_______________________________________________
Python-checkins mailing list -- [email protected]
To unsubscribe send an email to [email protected]
https://mail.python.org/mailman3/lists/python-checkins.python.org/
Member address: [email protected]

Reply via email to