Skip to content

Commit 7b8bd3b

Browse files
gh-119786: Fix miscellaneous typos in InternalDocs/interpreter_definition.md (#127957)
1 parent 3683b2f commit 7b8bd3b

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

Tools/cases_generator/interpreter_definition.md

+3-3
Original file line numberDiff line numberDiff line change
@@ -174,7 +174,7 @@ list of annotations and their meanings are as follows:
174174
* `override`. For external use by other interpreter definitions to override the current
175175
instruction definition.
176176
* `pure`. This instruction has no side effects.
177-
* 'tierN'. This instruction only used by tier N interpreter.
177+
* 'tierN'. This instruction is only used by the tier N interpreter.
178178

179179
### Special functions/macros
180180

@@ -393,7 +393,7 @@ which can be easily inserted. What is more complex is ensuring the correct stack
393393
and not generating excess pops and pushes.
394394

395395
For example, in `CHECK_HAS_INSTANCE_VALUES`, `owner` occurs in the input, so it cannot be
396-
redefined. Thus it doesn't need to be written and can be read without adjusting the stack pointer.
396+
redefined. Thus, it doesn't need to be written and can be read without adjusting the stack pointer.
397397
The C code generated for `CHECK_HAS_INSTANCE_VALUES` would look something like:
398398

399399
```C
@@ -404,7 +404,7 @@ The C code generated for `CHECK_HAS_INSTANCE_VALUES` would look something like:
404404
}
405405
```
406406
407-
When combining ops together to form instructions, temporary values should be used,
407+
When combining ops to form instructions, temporary values should be used,
408408
rather than popping and pushing, such that `LOAD_ATTR_SLOT` would look something like:
409409
410410
```C

0 commit comments

Comments
 (0)