Paul Sokolovsky
8 years ago
2 changed files with 17 additions and 3 deletions
@ -0,0 +1,16 @@ |
|||||
|
# 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) |
Loading…
Reference in new issue