diff options
author | Stan Ulbrych <89152624+StanFromIreland@users.noreply.github.com> | 2024-12-15 17:11:50 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-12-15 17:11:50 (GMT) |
commit | 7b8bd3b2b81f4aca63c5b603b56998f6b3ee2611 (patch) | |
tree | ec73a901beccd28054ca43d7e245ad5482bccb5a | |
parent | 3683b2f9e5972a2feb67a051fcf898a1b58a54fe (diff) | |
download | cpython-7b8bd3b2b81f4aca63c5b603b56998f6b3ee2611.zip cpython-7b8bd3b2b81f4aca63c5b603b56998f6b3ee2611.tar.gz cpython-7b8bd3b2b81f4aca63c5b603b56998f6b3ee2611.tar.bz2 |
gh-119786: Fix miscellaneous typos in `InternalDocs/interpreter_definition.md` (#127957)
-rw-r--r-- | Tools/cases_generator/interpreter_definition.md | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/Tools/cases_generator/interpreter_definition.md b/Tools/cases_generator/interpreter_definition.md index d50c420..7901f3d 100644 --- a/Tools/cases_generator/interpreter_definition.md +++ b/Tools/cases_generator/interpreter_definition.md @@ -174,7 +174,7 @@ list of annotations and their meanings are as follows: * `override`. For external use by other interpreter definitions to override the current instruction definition. * `pure`. This instruction has no side effects. -* 'tierN'. This instruction only used by tier N interpreter. +* 'tierN'. This instruction is only used by the tier N interpreter. ### Special functions/macros @@ -393,7 +393,7 @@ which can be easily inserted. What is more complex is ensuring the correct stack and not generating excess pops and pushes. For example, in `CHECK_HAS_INSTANCE_VALUES`, `owner` occurs in the input, so it cannot be -redefined. Thus it doesn't need to be written and can be read without adjusting the stack pointer. +redefined. Thus, it doesn't need to be written and can be read without adjusting the stack pointer. The C code generated for `CHECK_HAS_INSTANCE_VALUES` would look something like: ```C @@ -404,7 +404,7 @@ The C code generated for `CHECK_HAS_INSTANCE_VALUES` would look something like: } ``` -When combining ops together to form instructions, temporary values should be used, +When combining ops to form instructions, temporary values should be used, rather than popping and pushing, such that `LOAD_ATTR_SLOT` would look something like: ```C |