We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 7cf057a commit e2adff3Copy full SHA for e2adff3
1 file changed
tests/basics/dict2.py
@@ -8,3 +8,7 @@
8
9
d['2'] = 222
10
print(d['1'], d['2'], d['3'])
11
+
12
+d2 = dict(d)
13
+print('2' in d2)
14
+print(id(d) != id(d2), d == d2)
0 commit comments