Closed asan-emirsaleh closed 1 year ago
Since python 3.8 identity operators 'is' / 'is not' should only be applied to mutative literals, not the constant ones (string, tupple, integer, float). Proof: https://github.com/python/cpython/issues/79031
Thank you for your contribution!
Since python 3.8 identity operators 'is' / 'is not' should only be applied to mutative literals, not the constant ones (string, tupple, integer, float). Proof: https://github.com/python/cpython/issues/79031