mirror of
https://github.com/searxng/searxng.git
synced 2026-05-07 18:03:51 +02:00
[mod] fix some minor type hint issues / add some type hints more
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
This commit is contained in:
committed by
Markus Heiser
parent
76f0712319
commit
cc39cf7df3
+1
-1
@@ -394,7 +394,7 @@ def convert_str_to_int(number_str: str) -> int:
|
||||
return 0
|
||||
|
||||
|
||||
def extr(txt: str, begin: str, end: str, default: str = ""):
|
||||
def extr(txt: str, begin: str, end: str, default: str = "") -> str:
|
||||
"""Extract the string between ``begin`` and ``end`` from ``txt``
|
||||
|
||||
:param txt: String to search in
|
||||
|
||||
Reference in New Issue
Block a user