f5eec903fa
So these types more closely match NoneType, eg they can be hashed, like in CPython.
10 lines
149 B
Python
10 lines
149 B
Python
# tests that .../Ellipsis exists
|
|
|
|
print(...)
|
|
print(Ellipsis)
|
|
|
|
print(... == Ellipsis)
|
|
|
|
# Test that Ellipsis can be hashed
|
|
print(type(hash(Ellipsis)))
|