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

jhbuild::cut_n_paste::optparse::Option Class Reference

List of all members.


Detailed Description

Instance attributes:
  _short_opts : [string]
  _long_opts : [string]

  action : string
  type : string
  dest : string
  default : any
  nargs : int
  const : any
  choices : [string]
  callback : function
  callback_args : (any*)
  callback_kwargs : { string : any }
  help : string
  metavar : string

Definition at line 439 of file optparse.py.


Public Member Functions

def __init__
def __str__
def check_value
def convert_value
def get_opt_string
def process
def take_action
def takes_value

Public Attributes

 action
 dest
 nargs
 type

Static Public Attributes

tuple ACTIONS
tuple ALWAYS_TYPED_ACTIONS
list ATTRS
list CHECK_METHODS
 CHECK_METHODS = None
tuple CONST_ACTIONS
tuple STORE_ACTIONS
dictionary TYPE_CHECKER
tuple TYPED_ACTIONS
tuple TYPES = ("string", "int", "long", "float", "complex", "choice")

Private Member Functions

def _check_action
def _check_callback
def _check_choice
def _check_const
def _check_dest
def _check_nargs
def _check_opt_strings
def _check_type
def _set_attrs
def _set_opt_strings

Private Attributes

 _long_opts
 _short_opts

Static Private Attributes

 __repr__ = _repr

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

Generated by  Doxygen 1.6.0   Back to index