A user-defined type is also called a class. A class definition looks like this: class Point(object): """Representing a point in 2-D space.""" This header indicates that the new class is a Point, which is a kind of object, which is a built-in type. The body is a docstring that explains what the class is for. You can define variables and functions inside a class definition.