kopia lustrzana https://github.com/micropython/micropython
17 wiersze
249 B
Python
17 wiersze
249 B
Python
![]() |
# set type
|
||
|
|
||
|
# This doesn't really work as expected, because {None}
|
||
|
# leads SyntaxError during parsing.
|
||
|
try:
|
||
|
set
|
||
|
except NameError:
|
||
|
import sys
|
||
|
print("SKIP")
|
||
|
sys.exit()
|
||
|
|
||
|
print(set)
|
||
|
|
||
|
print(type(set()) == set)
|
||
|
|
||
|
print(type({None}) == set)
|