new

new — Creation of runtime internal objects

Deprecated since version 2.6: The new module has been removed in Python 3. Use the types module’s classes instead.

The new module allows an interface to the interpreter object creation functions. This is for use primarily in marshal-type functions, when a new object needs to be created “magically” and not by using the regular creation functions. This module provides a low-level inter