summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorisaacjones99 <82098317+isaacjones99@users.noreply.github.com>2024-10-04 14:23:02 (GMT)
committerGitHub <noreply@github.com>2024-10-04 14:23:02 (GMT)
commit994051e086b9ce624a3b16750d6f692bc4a3b07b (patch)
tree556bd82b1808173fbc32062fb5008a43bcd14cd5
parentbd393aedb84a7d84d11a996bcbbf57cad90af7db (diff)
downloadcpython-994051e086b9ce624a3b16750d6f692bc4a3b07b.zip
cpython-994051e086b9ce624a3b16750d6f692bc4a3b07b.tar.gz
cpython-994051e086b9ce624a3b16750d6f692bc4a3b07b.tar.bz2
gh-124962: Convert leftover rst to markup in `InternalDocs/compiler.md` (#124971)
Co-authored-by: Bénédikt Tran <10796600+picnixz@users.noreply.github.com>
-rw-r--r--InternalDocs/compiler.md16
1 files changed, 8 insertions, 8 deletions
diff --git a/InternalDocs/compiler.md b/InternalDocs/compiler.md
index ba31e16..f27e73b 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