From Fedora Project Wiki

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