Table of Contents

Class: Values ./src/peak/util/optparse.py
Methods   
__eq__
__init__
__ne__
__str__
_update
_update_careful
_update_loose
ensure_value
read_file
read_module
  __eq__ 
__eq__ ( self,  other )

  __init__ 
__init__ ( self,  defaults=None )

  __ne__ 
__ne__ ( self,  other )

  __str__ 
__str__ ( self )

  _update 
_update (
        self,
        dict,
        mode,
        )

Exceptions   
ValueError, "invalid update mode: %r" % mode
  _update_careful 
_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 
_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.

  ensure_value 
ensure_value (
        self,
        attr,
        value,
        )

  read_file 
read_file (
        self,
        filename,
        mode="careful",
        )

  read_module 
read_module (
        self,
        modname,
        mode="careful",
        )


Table of Contents

This document was automatically generated on Mon Nov 11 01:11:04 2024 by HappyDoc version 2.1