Skip to content

Commit

Permalink
fix: updated build markup value type with union of str and none.
Browse files Browse the repository at this point in the history
  • Loading branch information
akornatskyy committed Jan 2, 2024
1 parent 8855a4f commit 055a227
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/wheezy/template/ext/core.py
Expand Up @@ -354,7 +354,7 @@ def build_var(


def build_markup(
builder: Builder, lineno: int, token: str, value: str
builder: Builder, lineno: int, token: str, value: typing.Union[str, None]
) -> bool:
assert token == "markup"
if value:
Expand Down

0 comments on commit 055a227

Please sign in to comment.