From Fedora Project Wiki

Revision as of 16:30, 24 May 2008 by Admin (talk | contribs) (1 revision(s))
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

This document lists the preliminary python coding standards that we've all agreed upon so far.

  • Class names shall be StudlyCapped
  • Member variable and function names shall use the glib style, i.e. lower-case words separated by the underscore '_' character
  • Spacing shall be _real_ tabs (i.e., '\t' character) equivalent to 4 spaces
  • Class member variables and function should be scoped appropriately, i.e. beginning with '_' for protected scope and '__' for private scope