style: Removing dead code

This commit is contained in:
Karim shoair
2025-07-30 02:03:39 +03:00
parent 3c5de8e0f2
commit db781dcc32
-11
View File
@@ -125,17 +125,6 @@ class _StorageTools:
)
# def _root_type_verifier(method):
# # Just to make sure we are safe
# @wraps(method)
# def _impl(self, *args, **kw):
# # All html types inherits from HtmlMixin so this to check for all at once
# if not issubclass(type(self._root), html.HtmlMixin):
# raise ValueError(f"Cannot use function on a Node of type {type(self._root)!r}")
# return method(self, *args, **kw)
# return _impl
@lru_cache(128, typed=True)
def clean_spaces(string):
string = string.translate(__CLEANING_TABLE__)