projects
/
pyutils.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
More work to improve documentation generated by sphinx. Also fixes
[pyutils.git]
/
src
/
pyutils
/
string_utils.py
diff --git
a/src/pyutils/string_utils.py
b/src/pyutils/string_utils.py
index dbe3c1f1c4fd43aa487118201dc184f450671f5a..f6056d0f69e5097355bc018d62c9640c8a2377c5 100644
(file)
--- a/
src/pyutils/string_utils.py
+++ b/
src/pyutils/string_utils.py
@@
-569,7
+569,7
@@
def number_string_to_integer(in_str: str) -> int:
ValueError: Unknown word: xyzzy
"""
if type(in_str) == int:
ValueError: Unknown word: xyzzy
"""
if type(in_str) == int:
- return in
_str
+ return in
t(in_str)
current = result = 0
in_str = in_str.replace('-', ' ')
current = result = 0
in_str = in_str.replace('-', ' ')