Skip to content

Commit

Permalink
Merge pull request #57 from SalerSimo/issue-BUG038
Browse files Browse the repository at this point in the history
fix BUG038
  • Loading branch information
RunCor399 authored Dec 13, 2023
2 parents c9a9705 + 0cd2394 commit 953aad8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion source/BUG/strings.py
Original file line number Diff line number Diff line change
Expand Up @@ -139,7 +139,7 @@ def is_numeric(s: str) -> bool:
"""
BUG038: is_numeric should check if all characters in the string are numeric, not if the entire string is numeric.
"""
result = s.isalpha()
result = s.isnumeric()
return result


Expand Down

0 comments on commit 953aad8

Please sign in to comment.