more text on Python

This commit is contained in:
ahrenholz 2010-12-20 22:43:32 +00:00
parent 18de3e236c
commit b8f6f3558b

View file

@ -59,7 +59,16 @@ Lengthy string constants can be wrapped in the middle:
*comments* *comments*
Code should be commented to document its function. Tcl comments may appear at the end of lines where needed or on separate lines: Code should be commented to document its function.
Python comments for the most part, follows the [http://www.python.org/dev/peps/pep-0008/ Python Style Guide]. Classes and methods are commented as follows:
{{{
def setup(self):
''' Client has connected, set up a new connection.
'''
}}}
Tcl comments may appear at the end of lines where needed or on separate lines:
{{{ {{{
# search all nodes for the value # search all nodes for the value
foreach node $node_list { foreach node $node_list {