Package lemon :: Package external :: Package Cheetah :: Package Utils :: Package optik :: Module option_parser :: Class Values
[show private | hide private]
[frames | no frames]

Class Values


Method Summary
  __init__(self, defaults)
  ensure_value(self, attr, value)
  read_file(self, filename, mode)
  read_module(self, modname, mode)
  _update(self, dict, mode)
  _update_careful(self, dict)
Update the option values from an arbitrary dictionary, but only use keys from dict that already have a corresponding attribute in self.
  _update_loose(self, dict)
Update the option values from an arbitrary dictionary, using all keys from the dictionary regardless of whether they have a corresponding attribute in self or not.

Method Details

_update_careful(self, dict)

Update the option values from an arbitrary dictionary, but only
use keys from dict that already have a corresponding attribute
in self.  Any keys in dict without a corresponding attribute
are silently ignored.

_update_loose(self, dict)

Update the option values from an arbitrary dictionary,
using all keys from the dictionary regardless of whether
they have a corresponding attribute in self or not.

Generated by Epydoc 2.0 on Mon Nov 10 15:07:57 2003 http://epydoc.sf.net