try:
type('abc', None, None)
except TypeError:
print(True)
else:
print(False)
type('abc', (), None)
type('abc', (1,), {})