3 ms·
This isn't guaranteed by the language, even if CPython does it. What is guaranteed is intern('abc') is intern('abc').
by gsnedders 10y ago
This isn't guaranteed by the language, even if CPython does it. What is guaranteed is intern('abc') is intern('abc').