mirror of
https://github.com/micropython/micropython.git
synced 2026-01-07 04:30:24 +01:00
Merge branch 'xbe-master'
This commit is contained in:
9
tests/basics/builtin_id.py
Normal file
9
tests/basics/builtin_id.py
Normal file
@@ -0,0 +1,9 @@
|
||||
print(id(1) == id(2))
|
||||
print(id(None) == id(None))
|
||||
print(id([]) == id([]))
|
||||
|
||||
l = [1, 2]
|
||||
print(id(l) == id(l))
|
||||
|
||||
f = lambda:None
|
||||
print(id(f) == id(f))
|
||||
Reference in New Issue
Block a user