Package pythonutils :: Module odict
[hide private]
[frames] | no frames]

Module odict
source code

A dict that keeps keys in insertion order

Classes [hide private]
OrderedDict A class of dictionary that keeps the insertion order of keys.
_keys Custom object for accessing the keys of an OrderedDict.
_items Custom object for accessing the items of an OrderedDict.
_values Custom object for accessing the values of an OrderedDict.
SequenceOrderedDict Experimental version of OrderedDict that has a custom object for keys, values, and items.

Variables [hide private]
__author__  
__revision__  
__version__  
INTP_VER  
m  
globs  
generators  

Imports: warnings.warn, types.SliceType, sys, doctest

Variables Details [hide private]

__author__

Value:
'Nicola Larosa <nico-NoSp@m-tekNico.net>,Michael Foord <fuzzyman AT vo\
idspace DOT org DOT uk>'                                               
      

__revision__

Value:
'$Id: odict.py 129 2005-09-12 18:15:28Z teknico $'                     
      

__version__

Value:
'0.2.1'                                                                
      

INTP_VER

Value:
(2, 4)                                                                 
      

m

Value:
sys.modules.get('__main__')                                            
      

globs

Value:
m.__dict__.copy()                                                      
      

generators

Value:
_Feature((2, 2, 0, 'alpha', 1), (2, 3, 0, 'final', 0), 4096)