]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
gh-138081: fix some dead links in InternalDocs (#138082)
authoryihong <zouzou0208@gmail.com>
Thu, 11 Sep 2025 08:54:16 +0000 (16:54 +0800)
committerGitHub <noreply@github.com>
Thu, 11 Sep 2025 08:54:16 +0000 (10:54 +0200)
InternalDocs/compiler.md
InternalDocs/generators.md
InternalDocs/jit.md

index 02bbdf6071fa12e55d0b54adf28b1093b15c2a35..742af5efcf5ce5029ea31592d39c442da397f316 100644 (file)
@@ -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
index 979a5b51521e4efac86c1bc1b26ecfea8688eba8..fa652cd231cfa95d9647580424954578296fa130 100644 (file)
@@ -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
index c98ccb3ace8d9ecd9c81a1da06d8607ecec2b0a3..095853807377a4519602f3214a98a9b615ae1b0c 100644 (file)
@@ -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