Closed ivanpuchalka closed 4 months ago
Not as trivial as I thought it'd be. Taking the definition in https://docs.python.org/3.8/reference/lexical_analysis.html#identifiers, the new code replaces any invalid character with an underscore.
Only added a simple test to the same file as the rest, I can add more if needed.
Fixes #14
Nice!
Not as trivial as I thought it'd be. Taking the definition in https://docs.python.org/3.8/reference/lexical_analysis.html#identifiers, the new code replaces any invalid character with an underscore.
Only added a simple test to the same file as the rest, I can add more if needed.
Fixes #14