From 69337cff9014abf02f53fbb079b03713b1ba4ae6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Hugo=20H=C3=B6rnquist?= Date: Wed, 4 Aug 2021 01:44:50 +0200 Subject: Wed, 04 Aug 2021 01:44:50 +0200 --- PEP3131.wiki | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 PEP3131.wiki (limited to 'PEP3131.wiki') 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 "", line 1, in +KeyError: '𝐚' +}}} -- cgit v1.2.3