Skip to content

docs, scripts: Fix inheritance explanation and help text typo #16145

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 2 commits into
base: develop
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion docs/contracts/inheritance.rst
Original file line number Diff line number Diff line change
Expand Up @@ -229,7 +229,7 @@ The way around this is to use ``super``:
If ``Final`` calls a function of ``super``, it does not simply
call this function on one of its base contracts. Rather, it
calls this function on the next base contract in the final
inheritance graph, so it will call ``Base1.emitEvent()`` (note that
inheritance graph, so it will call ``Base2.emitEvent()`` (note that
the final inheritance sequence is -- starting with the most
derived contract: Final, Base2, Base1, Emittable, Owned).
The actual function that is called when using super is
Expand Down
2 changes: 1 addition & 1 deletion scripts/externalTests/benchmark_diff.py
Original file line number Diff line number Diff line change
Expand Up @@ -350,7 +350,7 @@ def process_commandline() -> CommandLineOptions:
choices=[m.value for m in DiffMode],
help=(
"Diff mode: "
f"'{DiffMode.IN_PLACE.value}' preserves input JSON structure and replace values with differences; "
f"'{DiffMode.IN_PLACE.value}' preserves input JSON structure and replaces values with differences; "
f"'{DiffMode.TABLE.value}' creates a table assuming 3-level project/preset/attribute structure."
)
)
Expand Down