{article Dive into Python}{title} {text} {/article}

Defining Classes

Class names are usually capitalized,
EachWordLikeThis, but this is only a convention, not a requirement.

The name of the class immediately follows the keyword class followed by a colon as follows:

pass is a null operation -- when it is executed, nothing happens. It is useful as a placeholder when a statement is required syntactically, but no code needs to be executed.

This is a Python reserved word that just means "move along, nothing to see here".
It's a statement that does nothing, and it's a good placeholder when you're stubbing out functions or classes

Example

class Classname:
pass

Example

class name[(expr[,expr]*)]:
suite