Differences

This shows you the differences between two versions of the page.

development:tekka [2010-07-15 02:01] (current)
Marian Tietz created
Line 1: Line 1:
 +<code python>
 +"""
 +Coding style
 +
 +Classes: MyClass
 +Methods: my_method
 +Variables: my_var OR myVar (that does not matter to me)
 +
 +Line length: 80 characters
 +Indentation: Lines split up but with same context should
 + stick together:
 +
 + if (myLongCondition != otherLongThing
 + and thatIsAll):
 + pass
 +
 + or
 +
 + my_string_function(
 + firstParam,
 + "This should be filled with %(vars)s." % {
 + "vars": testVar},
 + anotherParam)
 +"""
 +</code>
 
development/tekka.txt · Last modified: 2010-07-15 02:01 by Marian Tietz
 
Except where otherwise noted, content on this wiki is licensed under the following license:2-clause BSD license
Recent changes RSS feed Donate Powered by PHP Valid XHTML 1.0 Valid CSS Driven by DokuWiki