Duh.  Instead of string.whitespace and string.digits, use isspace()
and isdigit() methods.
1 file changed