Saturday, April 01, 2006

Stricter Whitespace Enforcement in Python.
  • All code indented with four spaces. This will also get rid of the tabs problem!

  • No redundant parentheses allowed (e.g. no "return(1)" where "return 1" would do).

  • No whitespace immediately following a left parentheses or immediately before a right parenthesis.

  • No whitespace before a left parenthesis that starts an argument list, or before a left square bracket that starts an index expression (e.g. "x[y]").



Tags: ,