Package nltk :: Package inference :: Module nonmonotonic :: Class SetHolder
[hide private]
[frames] | no frames]

type SetHolder

source code

object --+    
         |    
      list --+
             |
            SetHolder

A list of sets of Variables.

Instance Methods [hide private]
 
__getitem__(self, item)
Returns: the set containing 'item'
source code

Inherited from list: __add__, __contains__, __delitem__, __delslice__, __eq__, __ge__, __getattribute__, __getslice__, __gt__, __hash__, __iadd__, __imul__, __init__, __iter__, __le__, __len__, __lt__, __mul__, __ne__, __new__, __repr__, __reversed__, __rmul__, __setitem__, __setslice__, append, count, extend, index, insert, pop, remove, reverse, sort

Method Details [hide private]

__getitem__(self, item)
(Indexing operator)

source code 

x[y]

Parameters:
  • item - Variable
Returns:
the set containing 'item'
Overrides: list.__getitem__