KnowledgeHub
Questions
Tags
Users
Search
Alex Rivera
|
Logout
Edit Question
Title
Body
Why is the types module in Python 3 so small? 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
Tags (comma-separated)
Save Edits
Cancel