cc-4232: fixed typo in doctest
This commit is contained in:
parent
1c865fc3f1
commit
efa4b12e3a
|
@ -209,7 +209,7 @@ def parse_int(s):
|
|||
>>> parse_int("123saf")
|
||||
'123'
|
||||
>>> parse_int("asdf")
|
||||
nothing
|
||||
None
|
||||
"""
|
||||
if s.isdigit(): return s
|
||||
else:
|
||||
|
|
Loading…
Reference in New Issue