Skip to content

Commit

Permalink
Fixes typo on named_outputs.py (#1206)
Browse files Browse the repository at this point in the history
Signed-off-by: Thomas J. Fan <[email protected]>
  • Loading branch information
thomasjpfan authored Oct 31, 2023
1 parent ddbb255 commit 645e0e7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion examples/basics/basics/named_outputs.py
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ def intercept(x: list[int], y: list[int], slope: float) -> intercept_value:
# %% [markdown]
# :::{note}
# While it's possible to create `NamedTuple`s directly within the code,
# it's often better to declare them explicitly. This helps prevent potential linting errors in tools like pypy.
# it's often better to declare them explicitly. This helps prevent potential linting errors in tools like mypy.
#
# ```
# def slope() -> NamedTuple("slope_value", slope=float):
Expand Down

0 comments on commit 645e0e7

Please sign in to comment.