mirror of
https://github.com/RustPython/RustPython.git
synced 2026-06-09 22:49:57 +09:00
17 lines
175 B
Python
17 lines
175 B
Python
assert None is None
|
|
|
|
y = None
|
|
x = None
|
|
assert x is y
|
|
|
|
def none():
|
|
pass
|
|
|
|
def none2():
|
|
return None
|
|
|
|
assert none() is none()
|
|
assert none() is x
|
|
|
|
assert none() is none2()
|