cc-4232: fixed typo in doctest
This commit is contained in:
parent
1c865fc3f1
commit
efa4b12e3a
1 changed files with 1 additions and 1 deletions
|
@ -209,7 +209,7 @@ def parse_int(s):
|
|||
>>> parse_int("123saf")
|
||||
'123'
|
||||
>>> parse_int("asdf")
|
||||
nothing
|
||||
None
|
||||
"""
|
||||
if s.isdigit(): return s
|
||||
else:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue