[ck2cti] Remove unused isnumberlike function
This commit is contained in:
parent
e250d23435
commit
bed546ad92
1 changed files with 0 additions and 7 deletions
|
|
@ -891,13 +891,6 @@ def fortFloat(s):
|
|||
s = s.replace('E ', 'E+').replace('e ', 'e+')
|
||||
return float(s)
|
||||
|
||||
def isnumberlike(text):
|
||||
""" Returns true if `text` can be interpreted as a floating point number. """
|
||||
try:
|
||||
float(text)
|
||||
return True
|
||||
except ValueError:
|
||||
return False
|
||||
|
||||
def get_index(seq, value):
|
||||
"""
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue