Example #1
0
File: append.py Project: Roger/y
 def __init__(self, options, din, dout):
     TypeCommand.__init__(self, list, self.fun, options,
             din, dout)
Example #2
0
File: ends-with.py Project: Roger/y
 def __init__(self, options, din, dout):
     TypeCommand.__init__(self, (str, Symbol, Keyword), self.fun, options,
             din, dout)
Example #3
0
 def __init__(self, options, din, dout):
     TypeCommand.__init__(self, (collections.Sequence, collections.Mapping),
                          self.fun, options, din, dout)
Example #4
0
File: values.py Project: Roger/y
 def __init__(self, options, din, dout):
     TypeCommand.__init__(self, dict, lambda x: x.values(), options,
             din, dout)
Example #5
0
 def __init__(self, options, din, dout):
     TypeCommand.__init__(self, dict, self.fun, options, din, dout)
Example #6
0
File: get.py Project: Roger/y
 def __init__(self, options, din, dout):
     TypeCommand.__init__(self,
         (collections.Sequence, collections.Mapping), self.fun, options,
         din, dout)
Example #7
0
 def __init__(self, options, din, dout):
     TypeCommand.__init__(self, (str, Symbol, Keyword), self.fun, options,
                          din, dout)
Example #8
0
 def __init__(self, options, din, dout):
     TypeCommand.__init__(self, dict, lambda x: x.keys(), options, din,
                          dout)