Back to index

python3.2  3.2.2
Public Member Functions
logging.config.ConvertingList Class Reference

List of all members.

Public Member Functions

def __getitem__
def pop

Detailed Description

A converting list wrapper.

Definition at line 323 of file config.py.


Member Function Documentation

def logging.config.ConvertingList.__getitem__ (   self,
  key 
)

Definition at line 325 of file config.py.

00325 
00326     def __getitem__(self, key):
00327         value = list.__getitem__(self, key)
00328         result = self.configurator.convert(value)
00329         #If the converted value is different, save for next time
00330         if value is not result:
00331             self[key] = result
00332             if type(result) in (ConvertingDict, ConvertingList,
00333                                 ConvertingTuple):
00334                 result.parent = self
00335                 result.key = key
00336         return result

Here is the call graph for this function:

Here is the caller graph for this function:

def logging.config.ConvertingList.pop (   self,
  idx = -1 
)

Definition at line 337 of file config.py.

00337 
00338     def pop(self, idx=-1):
00339         value = list.pop(self, idx)
00340         result = self.configurator.convert(value)
00341         if value is not result:
00342             if type(result) in (ConvertingDict, ConvertingList,
00343                                 ConvertingTuple):
00344                 result.parent = self
00345         return result

Here is the caller graph for this function:


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