https://github.com/python/cpython/commit/a1707e4516c4861efbd43068da6e0db2d38ef87d
commit: a1707e4516c4861efbd43068da6e0db2d38ef87d
branch: main
author: yihong <[email protected]>
committer: picnixz <[email protected]>
date: 2025-09-11T10:54:16+02:00
summary:
gh-138081: fix some dead links in InternalDocs (#138082)
files:
M InternalDocs/compiler.md
M InternalDocs/generators.md
M InternalDocs/jit.md
diff --git a/InternalDocs/compiler.md b/InternalDocs/compiler.md
index 02bbdf6071fa12..742af5efcf5ce5 100644
--- a/InternalDocs/compiler.md
+++ b/InternalDocs/compiler.md
@@ -604,4 +604,4 @@ References
pp. 213--227, 1997.
[^2]: The Zephyr Abstract Syntax Description Language.:
- https://www.cs.princeton.edu/research/techreps/TR-554-97
+ https://www.cs.princeton.edu/research/techreps/254
diff --git a/InternalDocs/generators.md b/InternalDocs/generators.md
index 979a5b51521e4e..fa652cd231cfa9 100644
--- a/InternalDocs/generators.md
+++ b/InternalDocs/generators.md
@@ -64,7 +64,7 @@ Iteration
The [`FOR_ITER`](https://docs.python.org/dev/library/dis.html#opcode-FOR_ITER)
instruction calls `__next__` on the iterator which is on the top of the stack,
-and pushes the result to the stack. It has [`specializations`](adaptive.md)
+and pushes the result to the stack. It has [`specializations`](interpreter.md)
for a few common iterator types, including `FOR_ITER_GEN`, for iterating over
a generator. `FOR_ITER_GEN` bypasses the call to `__next__`, and instead
directly pushes the generator stack and resumes its execution from the
diff --git a/InternalDocs/jit.md b/InternalDocs/jit.md
index c98ccb3ace8d9e..095853807377a4 100644
--- a/InternalDocs/jit.md
+++ b/InternalDocs/jit.md
@@ -89,7 +89,7 @@ When the full jit is enabled (python was configured with
[`--enable-experimental-jit`](https://docs.python.org/dev/using/configure.html#cmdoption-enable-experimental-jit),
the uop executor's `jit_code` field is populated with a pointer to a compiled
C function that implements the executor logic. This function's signature is
-defined by `jit_func` in [`pycore_jit.h`](Include/internal/pycore_jit.h).
+defined by `jit_func` in [`pycore_jit.h`](../Include/internal/pycore_jit.h).
When the executor is invoked by `ENTER_EXECUTOR`, instead of jumping to
the uop interpreter at `tier2_dispatch`, the executor runs the function
that `jit_code` points to. This function returns the instruction pointer
_______________________________________________
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]