You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
15 lines
240 B
15 lines
240 B
# set type
|
|
|
|
# This doesn't really work as expected, because {None}
|
|
# leads SyntaxError during parsing.
|
|
try:
|
|
set
|
|
except NameError:
|
|
print("SKIP")
|
|
raise SystemExit
|
|
|
|
print(set)
|
|
|
|
print(type(set()) == set)
|
|
|
|
print(type({None}) == set)
|
|
|