Skip to content

Commit

Permalink
docs(fix): avoid producing , following a link
Browse files Browse the repository at this point in the history
  • Loading branch information
dangotbanned authored Jun 28, 2024
1 parent 5b8d95b commit 89abf94
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion altair/utils/schemapi.py
Original file line number Diff line number Diff line change
Expand Up @@ -762,7 +762,7 @@ def func_1(
] = Undefined,
): ...
This is distinct from `typing.Optional <https://typing.readthedocs.io/en/latest/spec/historical.html#union-and-optional>`__, as ``altair.Optional`` treats ``None`` like any other type::
This is distinct from `typing.Optional <https://typing.readthedocs.io/en/latest/spec/historical.html#union-and-optional>`__ as ``altair.Optional`` treats ``None`` like any other type::
# ruff: noqa: UP006, UP007
from altair import Optional
Expand Down
2 changes: 1 addition & 1 deletion tools/schemapi/schemapi.py
Original file line number Diff line number Diff line change
Expand Up @@ -760,7 +760,7 @@ def func_1(
] = Undefined,
): ...
This is distinct from `typing.Optional <https://typing.readthedocs.io/en/latest/spec/historical.html#union-and-optional>`__, as ``altair.Optional`` treats ``None`` like any other type::
This is distinct from `typing.Optional <https://typing.readthedocs.io/en/latest/spec/historical.html#union-and-optional>`__ as ``altair.Optional`` treats ``None`` like any other type::
# ruff: noqa: UP006, UP007
from altair import Optional
Expand Down

0 comments on commit 89abf94

Please sign in to comment.