diff options
| author | Asko Nõmm <asko@nmm.ee> | 2025-01-02 01:30:23 +0200 |
|---|---|---|
| committer | Asko Nõmm <asko@nmm.ee> | 2025-01-02 01:30:23 +0200 |
| commit | 689fe2613765de71101214a482c928cfdb1b2be6 (patch) | |
| tree | 53ff6f9a092caee32e5c600bccf5ee546bd8bc20 /htmtl/expression_modifier.py | |
| parent | 5e08a8b2f9258ae1f0aca7e3ad044b6360e07458 (diff) | |
Clean up some naming usages and things
Diffstat (limited to 'htmtl/expression_modifier.py')
| -rw-r--r-- | htmtl/expression_modifier.py | 19 |
1 files changed, 0 insertions, 19 deletions
diff --git a/htmtl/expression_modifier.py b/htmtl/expression_modifier.py deleted file mode 100644 index 69d6a86..0000000 --- a/htmtl/expression_modifier.py +++ /dev/null @@ -1,19 +0,0 @@ -from abc import abstractmethod, ABC -from typing import Any - - -class ExpressionModifier(ABC): - name: str - - @abstractmethod - def modify(self, value: Any, opts: list[Any]) -> Any: - pass - - -def modifier(name: str): - def wrapper(cls: type[ExpressionModifier]): - cls.name = name - - return cls - - return wrapper
\ No newline at end of file |
