Package translate :: Package misc :: Module ini :: Class INIConfig

[hide private]
[frames] | no frames]

# Class INIConfig

source code

                         object --+
                                  |
    iniparse.config.ConfigNamespace --+
                                      |
                                     INIConfig

Instance Methods | [hide private]

__init__(self, fp=None, defaults=None, parse_exc=True, optionxformvalue=<method 'lower' of 'str' objects>, optionxformsource=None, sectionxformvalue=None, sectionxformsource=None) x.__init__(...) initializes x; see x.__class__.__doc__ for signature | source code

__getitem__(self, key) | source code

__setitem__(self, key, value) | source code

__delitem__(self, key) | source code

__iter__(self) | source code

new_namespace(self, name) | source code

__str__(self) str(x) | source code

_parse(self, line) | source code

readfp(self, fp) | source code

Inherited from `iniparse.config.ConfigNamespace`: `__delattr__`, `__getattr__`, `__setattr__`, `import_config` Inherited from `object`: `__getattribute__`, `__hash__`, `__new__`, `__reduce__`, `__reduce_ex__`, `__repr__`

Class Variables | [hide private]

| _data = `None`
| _sections = `None`
| _defaults = `None`
| _optionxformvalue = `None`
| _optionxformsource = `None`
| _sectionxformvalue = `None`
| _sectionxformsource = `None`
| _parse_exc = `None`
| _line_types = ``[`<class 'translate.misc.ini.EmptyLine'>`,` <class `...``

Properties | [hide private]

| _optionxform
| _sectionxform
Inherited from `object`: `__class__`

Method Details | [hide private]

### __init__(self, fp=None, defaults=None, parse_exc=True, optionxformvalue=<method 'lower' of 'str' objects>, optionxformsource=None, sectionxformvalue=None, sectionxformsource=None)
(Constructor)

source code

x.__init__(...) initializes x; see x.__class__.__doc__ for signature

Overrides: object.__init__
  (inherited documentation)

### __getitem__(self, key)
(Indexing operator)

source code

Overrides: iniparse.config.ConfigNamespace.__getitem__

### __setitem__(self, key, value)
(Index assignment operator)

source code

Overrides: iniparse.config.ConfigNamespace.__setitem__

### __delitem__(self, key)
(Index deletion operator)

source code

Overrides: iniparse.config.ConfigNamespace.__delitem__

### __iter__(self)

source code

Overrides: iniparse.config.ConfigNamespace.__iter__

### new_namespace(self, name)

source code

Overrides: iniparse.config.ConfigNamespace.new_namespace

### __str__(self)
(Informal representation operator)

source code

str(x)

Overrides: object.__str__
  (inherited documentation)

Class Variable Details | [hide private]

### _line_types

Value:

      [<class 'translate.misc.ini.EmptyLine'>,
       <class 'translate.misc.ini.CommentLine'>,
       <class 'translate.misc.ini.SectionLine'>,
       <class 'translate.misc.ini.OptionLine'>,
       <class 'translate.misc.ini.ContinuationLine'>]

Property Details | [hide private]

### _optionxform

Get Method:
  unreachable.getfn(self)
Set Method:
  unreachable.setfn(self, value)

### _sectionxform

Get Method:
  unreachable.getfn(self)
Set Method:
  unreachable.setfn(self, value)