Код: Выделить всё
>>> names=['jill','jack']
>>> isinstance(names,list)
Traceback (most recent call last):
File "
", line 1, in
isinstance(names,list)
TypeError: isinstance() arg 2 must be a type or tuple of types
>>>
Подробнее здесь: https://stackoverflow.com/questions/146 ... e-of-types
Мобильная версия