модуль типов Python 3

У меня есть небольшой вопрос о разнице между python 2.X и python 3.X. Почему модуль типов python 3 такой маленький? Спасибо

Python 2.7
>>> import types    
>>> print(len([i for i in dir(types) if not i.startswith('__')]))
37


Python 3.2
>>> import types    
>>> print(len([i for i in dir(types) if not i.startswith('__')]))
12
10
задан Volodymyr Pavlenko 16 July 2012 в 10:08
поделиться