diff options
Diffstat (limited to 'PEP3131.wiki')
-rw-r--r-- | PEP3131.wiki | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/PEP3131.wiki b/PEP3131.wiki new file mode 100644 index 0000000..86e4829 --- /dev/null +++ b/PEP3131.wiki @@ -0,0 +1,14 @@ +- https://stackoverflow.com/questions/62256014/does-python-forbid-two-similarly-looking-unicode-identifiers/62256274#62256274 +- https://www.python.org/dev/peps/pep-3131/ + +{{{python +>>> a = 10 +>>> 𝐚 == 𝔞 == 10 +True +>>> t = dict() +>>> t['a'] = 10 +>>> t['𝐚'] +Traceback (most recent call last): + File "<stdin>", line 1, in <module> +KeyError: '𝐚' +}}} |