class definitionmore general syntax class myclass 'optional documentation stringclass_var class_var var def __init__selfvar default )'optional documentation stringattribute var rest_of_construction_init_suite def some_methodselfsome_parameters )'optional documentation stringmethod_code purdue university