Skip to content
All lessons

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

Read on docs.python.org
  • Python
  • Tests

Book a call

Lessons like this one
shape how we build.

Tell us what you’re building. In one call, we’ll show you how our team would approach it.

Tell us what you’re building, and we’ll show you how we’d approach it.

Still prefer the good old email? Contact us