micropython/tests/basics/builtin_ellipsis.py

10 wiersze
149 B
Python
Czysty Zwykły widok Historia

# tests that .../Ellipsis exists
print(...)
print(Ellipsis)
print(... == Ellipsis)
# Test that Ellipsis can be hashed
print(type(hash(Ellipsis)))