Package nltk :: Module util :: Class OrderedDict
[hide private]
[frames] | no frames]

Class OrderedDict

source code

UserDict.UserDict --+
                    |
                   OrderedDict

Instance Methods [hide private]
 
__init__(self, data=None, **kwargs) source code
 
__delitem__(self, key) source code
 
__getitem__(self, key) source code
 
__iter__(self) source code
 
__missing__(self, key) source code
 
__setitem__(self, key, item) source code
 
clear(self) source code
 
copy(self) source code
 
items(self) source code
 
keys(self, data=None, keys=None) source code
 
popitem(self) source code
 
setdefault(self, key, failobj=None) source code
 
update(self, data) source code
 
values(self) source code

Inherited from UserDict.UserDict: __cmp__, __contains__, __len__, __repr__, get, has_key, iteritems, iterkeys, itervalues, pop

Class Methods [hide private]

Inherited from UserDict.UserDict: fromkeys

Method Details [hide private]

__init__(self, data=None, **kwargs)
(Constructor)

source code 
Overrides: UserDict.UserDict.__init__

__delitem__(self, key)
(Index deletion operator)

source code 
Overrides: UserDict.UserDict.__delitem__

__getitem__(self, key)
(Indexing operator)

source code 
Overrides: UserDict.UserDict.__getitem__

__setitem__(self, key, item)
(Index assignment operator)

source code 
Overrides: UserDict.UserDict.__setitem__

clear(self)

source code 
Overrides: UserDict.UserDict.clear

copy(self)

source code 
Overrides: UserDict.UserDict.copy

items(self)

source code 
Overrides: UserDict.UserDict.items

keys(self, data=None, keys=None)

source code 
Overrides: UserDict.UserDict.keys

popitem(self)

source code 
Overrides: UserDict.UserDict.popitem

setdefault(self, key, failobj=None)

source code 
Overrides: UserDict.UserDict.setdefault

update(self, data)

source code 
Overrides: UserDict.UserDict.update

values(self)

source code 
Overrides: UserDict.UserDict.values