Logo Search packages:      
Sourcecode: feed2omb version File versions  Download package

Public Member Functions | Public Attributes | Private Member Functions | Private Attributes | Static Private Attributes

configobj::Section Class Reference

Inheritance diagram for configobj::Section:
Inheritance graph

List of all members.

Public Member Functions

def __delitem__
def __getitem__
def __init__
def __reduce__
def __repr__
def __setitem__
def __setstate__
def as_bool
def as_float
def as_int
def as_list
def clear
def dict
def get
def items
def iteritems
def iterkeys
def itervalues
def keys
def merge
def pop
def popitem
def rename
def restore_default
def restore_defaults
def setdefault
def update
def values
def walk

Public Attributes


Private Member Functions

def _initialise
def _interpolate

Private Attributes


Static Private Attributes

 __iter__ = iterkeys
 __str__ = __repr__

Detailed Description

A dictionary-like object that represents a section in a config file.

It does string interpolation if the 'interpolation' attribute
of the 'main' object is set to True.

Interpolation is tried first from this object, then from the 'DEFAULT'
section of this object, next from the parent and its 'DEFAULT' section,
and so on until the main object is reached.

A Section will behave like an ordered dictionary - following the
order of the ``scalars`` and ``sections`` attributes.
You can use this to change the order of members.

Iteration follows the order: scalars, then sections.

Definition at line 489 of file configobj.py.

The documentation for this class was generated from the following file:

Generated by  Doxygen 1.6.0   Back to index