fixed mutable argument bug in the source dict of SourceAttribute

This commit is contained in:
Hellow2
2023-01-31 13:18:52 +01:00
parent ae9a70fb04
commit 2e6c58255c
7 changed files with 125 additions and 3 deletions

View File

@@ -0,0 +1,9 @@
def unify(string: str) -> str:
"""
returns an unified str, to make comparosons easy.
an unified string has following attributes:
- is lowercase
"""
return string.lower()