Module Modifier :: Class Modifier

Class Modifier

source code

The Modifier object

This object provides access to a modifier for a particular object accessed from ModSeq.

Instance Methods
varies
__getitem__(key)
This operator returns one of the modifier's data attributes.
source code
 
__setitem__(key)
This operator modifiers one of the modifier's data attributes.
source code
Instance Variables
string name
The name of this modifier.
int type
The type of this modifier.
Method Details

__getitem__(key)
(Indexing operator)

source code 
This operator returns one of the modifier's data attributes.
Returns: varies
the requested data
Raises:
  • KeyError - the key does not exist for the modifier

__setitem__(key)
(Index assignment operator)

source code 
This operator modifiers one of the modifier's data attributes.
Raises:
  • KeyError - the key does not exist for the modifier

Instance Variable Details

name

The name of this modifier. 31 chars max.
Type:
string

type

The type of this modifier. Read-only. The returned value matches the types in Types.
Type:
int