Tech Insights· docs.python.org
If you ever need to create a simple object inline or in test cases and their class/superclasses don't matter, you can use ``
From docs.python.org
Source code: Lib/types.py This module defines utility functions to assist in dynamic creation of new types. It also defines names for some object types that are used by the standard Python interpre...
Shared by
- Python
- Tests



