We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 1d938c9 commit 00c0b8aCopy full SHA for 00c0b8a
1 file changed
tests/basics/builtin_id.py
@@ -1,6 +1,7 @@
1
print(id(1) == id(2))
2
print(id(None) == id(None))
3
-print(id([]) == id([]))
+# This can't be true per Python semantics, just CPython implementation detail
4
+#print(id([]) == id([]))
5
6
l = [1, 2]
7
print(id(l) == id(l))
0 commit comments