constructor call

A call that creates a new object, written as the type or class name used like a function, such as list(), set("abc") or Point(1, 2).

In more detail

Built-in constructors also convert: int("7"), str(7), list("abc"). Calling your own class runs its __init__ method to set up the new instance.

Related terms

Taught in

References