new

Create new objects of various types. Deprecated.

This module is no longer required except for backward compatibility. Objects of most types can now be created by calling the type object.

Classes

classobj Create a class object.
code Create a code object.
function Create a function object from a code object and a dictionary.
instance Create an instance without calling its __init__() method.
instancemethod Create an instance method object.
module Create a module object.