aboutsummaryrefslogtreecommitdiff
path: root/PEP3131.wiki
blob: 86e4829a6392b2e99ee31de78c406e0e4ee76e91 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
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: '𝐚'
}}}