Package command_system :: Module framework :: Class Command
[hide private]
[frames] | no frames]

Class Command

source code


Instance Methods [hide private]
 
__init__(self, handler, *names, **properties)
x.__init__(...) initializes x; see x.__class__.__doc__ for signature
source code
 
__call__(self, *args, **kwargs) source code
 
__repr__(self)
repr(x)
source code
 
__cmp__(self, other) source code
 
extract_documentation(self)
Extract handler's documentation which is a doc-string and transform it to a usable format.
source code
 
extract_description(self)
Extract handler's description (which is a first line of the documentation).
source code
 
extract_specification(self)
Extract handler's arguments specification, as it was defined preserving their order.
source code

Inherited from object: __delattr__, __getattribute__, __hash__, __new__, __reduce__, __reduce_ex__, __setattr__, __str__

Properties [hide private]
  first_name
  native_name

Inherited from object: __class__

Method Details [hide private]

__init__(self, handler, *names, **properties)
(Constructor)

source code 
x.__init__(...) initializes x; see x.__class__.__doc__ for signature
Overrides: object.__init__
(inherited documentation)

__call__(self, *args, **kwargs)
(Call operator)

source code 

__repr__(self)
(Representation operator)

source code 
repr(x)
Overrides: object.__repr__
(inherited documentation)

__cmp__(self, other)
(Comparison operator)

source code 

extract_documentation(self)

source code 
Extract handler's documentation which is a doc-string and transform it to a usable format.

extract_description(self)

source code 
Extract handler's description (which is a first line of the documentation). Try to keep them simple yet meaningful.

extract_specification(self)

source code 
Extract handler's arguments specification, as it was defined preserving their order.

Property Details [hide private]

first_name

Get Method:
unreachable.first_name(self)

native_name

Get Method:
unreachable.native_name(self)