From e852b4b4f32af5df8af1c7d7ef969945157762d0 Mon Sep 17 00:00:00 2001 From: EmArthur Date: Wed, 13 Dec 2023 20:11:36 +0100 Subject: [PATCH] BUG037 solved --- source/BUG/strings.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/BUG/strings.py b/source/BUG/strings.py index 5cdfb0f..77a6a0c 100644 --- a/source/BUG/strings.py +++ b/source/BUG/strings.py @@ -130,7 +130,7 @@ def is_alpha(s: str) -> bool: """ BUG037: is_alpha should check if all characters in the string are alphabetic, not if the entire string is alphabetic. """ - result = s.isnumeric() + result = s.isalpha() return result