Skip to content
This repository was archived by the owner on Sep 15, 2025. It is now read-only.

Commit fd25284

Browse files
committed
Mark Text as slots=True. Whoops
1 parent 0d545c7 commit fd25284

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

html_tstring/nodes.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ def __html__(self) -> str:
3939
return str(self)
4040

4141

42-
@dataclass(slots=False)
42+
@dataclass(slots=True)
4343
class Text(Node):
4444
text: str
4545

uv.lock

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)