projects
/
python_utils.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
More type annotations.
[python_utils.git]
/
string_utils.py
diff --git
a/string_utils.py
b/string_utils.py
index 991793d96ad1bf27e503ca2ae673b1b93211e25d..9a204660432693032c6dfef79722714d1e133a65 100644
(file)
--- a/
string_utils.py
+++ b/
string_utils.py
@@
-1095,7
+1095,7
@@
def to_date(in_str: str) -> Optional[datetime.date]:
"""
Parses a date string. See DateParser docs for details.
"""
"""
Parses a date string. See DateParser docs for details.
"""
- import dateparse.dateparse_utils as dp
+ import dateparse.dateparse_utils as dp
# type: ignore
try:
d = dp.DateParser()
try:
d = dp.DateParser()