コード例 #1
0
ファイル: sort-by.py プロジェクト: Roger/y
 def __init__(self, options, din, dout):
     InputCommand.__init__(self, options, din, dout)
     self.accum = []
     self.key = self.options.get("value", "value")
コード例 #2
0
ファイル: p.py プロジェクト: Roger/y
 def __init__(self, options, din, dout):
     InputCommand.__init__(self, options, din, dout)
     self.accum = []
コード例 #3
0
ファイル: count.py プロジェクト: Roger/y
 def __init__(self, options, din, dout):
     InputCommand.__init__(self, options, din, dout)
     self.count = 0
コード例 #4
0
ファイル: count.py プロジェクト: Roger/y
 def __init__(self, options, din, dout):
     InputCommand.__init__(self, options, din, dout)
     self.count = 0
コード例 #5
0
 def __init__(self, options, din, dout):
     InputCommand.__init__(self, options, din, dout)
     self.max = None
コード例 #6
0
 def __init__(self, options, din, dout):
     InputCommand.__init__(self, options, din, dout)
     self.accum = []
     self.key = self.options.get("value", "value")
コード例 #7
0
ファイル: join.py プロジェクト: Roger/y
 def __init__(self, options, din, dout):
     InputCommand.__init__(self, options, din, dout)
     self.first = True
コード例 #8
0
ファイル: join.py プロジェクト: Roger/y
 def __init__(self, options, din, dout):
     InputCommand.__init__(self, options, din, dout)
     self.first = True
コード例 #9
0
ファイル: min.py プロジェクト: Roger/y
 def __init__(self, options, din, dout):
     InputCommand.__init__(self, options, din, dout)
     self.min = None
コード例 #10
0
ファイル: nth.py プロジェクト: Roger/y
 def __init__(self, options, din, dout):
     InputCommand.__init__(self, options, din, dout)
     self.value = self.options.get("value", 1)
     self.items_count = 0
     self.accum = None
コード例 #11
0
ファイル: drop-last.py プロジェクト: Roger/y
 def __init__(self, options, din, dout):
     InputCommand.__init__(self, options, din, dout)
     self.count = self.options.get("value", 1)
     self.accum = collections.deque(maxlen=self.count)
コード例 #12
0
 def on_options(self, options):
     InputCommand.on_options(self, options)
     self.printer(options)
コード例 #13
0
ファイル: options.py プロジェクト: Roger/y
 def on_options(self, options):
     InputCommand.on_options(self, options)
     self.printer(options)
コード例 #14
0
ファイル: set.py プロジェクト: Roger/y
 def __init__(self, options, din, dout):
     InputCommand.__init__(self, options, din, dout)
     self.set = set()
コード例 #15
0
 def __init__(self, options, din, dout):
     InputCommand.__init__(self, options, din, dout)
     self.count = self.options.get("value", 1)
     self.items_count = 0
コード例 #16
0
 def __init__(self, options, din, dout):
     InputCommand.__init__(self, options, din, dout)
     self.accum = []
コード例 #17
0
 def __init__(self, options, din, dout):
     InputCommand.__init__(self, options, din, dout)
     self.set = set()