instance

One particular object made from a class, with its own attribute values.

In more detail

Two instances of the same class share its methods but keep their own data, so changing one dog's name does not rename another. isinstance(x, Dog) asks whether x was made from Dog or a subclass of it.

Related terms

Taught in

References

Certification courses