Module coding_style :: Class coding_style
[hide private]
[frames] | no frames]

Class coding_style

source code

A docstring describing the class should be inclused for every class.

Details for plans with the class and information for adapting it should also go into the docstring.

A docstring should beseperated from the following code by at least one empty line to lessen confusion.

Instance Methods [hide private]
  __init__(self, style)
Every function needs a docstring, too.
  __repr__(self)
Print the relevant information about the class, if it's intended for command line useage, else return it as string.

Instance Variables [hide private]
  style
The coding style.

Method Details [hide private]

__init__(self, style)
(Constructor)

source code 

Every function needs a docstring, too.

Additional lines should contain special cases and any quirks which might not behave exactly as expected.

__repr__(self)
(Representation operator)

source code 
Print the relevant information about the class, if it's intended for command line useage, else return it as string.

Instance Variable Details [hide private]

style

The coding style. Every variable needs a description in epydoc format.