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

configobj::Section Class Reference

Inheritance diagram for configobj::Section:


List of all members.

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 450 of file configobj.py.

Public Member Functions

def __delitem__
def __getitem__
def __init__
def __repr__
def __setitem__
def as_bool
def as_float
def as_int
def clear
def decode
def dict
def encode
def get
def istrue
def items
def iteritems
def iterkeys
def itervalues
def keys
def merge
def pop
def popitem
def rename
def setdefault
def update
def values
def walk

Public Attributes


Private Member Functions

def _interpolate

Private Attributes


Static Private Attributes

 __iter__ = iterkeys
 __str__ = __repr__

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

Generated by  Doxygen 1.6.0   Back to index