style: Removing dead code/docstrings and correcting type hints

This commit is contained in:
Karim shoair
2025-09-19 04:49:30 +03:00
parent bf5fe6d451
commit a9d05cc0ef
5 changed files with 8 additions and 16 deletions
+2 -2
View File
@@ -145,7 +145,7 @@ class TextHandler(str):
clean_match: bool = False,
case_sensitive: bool = True,
check_match: Literal[False] = False,
) -> "TextHandlers[TextHandler]": ...
) -> "TextHandlers": ...
def re(
self,
@@ -241,7 +241,7 @@ class TextHandlers(List[TextHandler]):
replace_entities: bool = True,
clean_match: bool = False,
case_sensitive: bool = True,
) -> "TextHandlers[TextHandler]":
) -> "TextHandlers":
"""Call the ``.re()`` method for each element in this list and return
their results flattened as TextHandlers.