Exemple #1
0
 def __init__(self, name, master_frame, encoding='utf8'):
     source.__init__(self, encoding)
     self.name = name
     self.saved = ''
     macros = master_frame.get_persistent_frame('macros')
     self.list = macros.get(name, [])
     self.closed = 0
Exemple #2
0
 def __init__(self, name, master_frame, encoding='utf8'):
   source.__init__(self, encoding)
   self.name = name
   self.saved = ''
   macros = master_frame.get_persistent_frame('macros')
   self.list = macros.get(name,[])
   self.closed = 0
Exemple #3
0
 def __init__(self,name,**kwds):
   source.__init__(self)
   sink_base.__init__(self)
   self.name = name
   self.saved = ''
   self.list = []
   for k in list(kwds.keys()):
     self.k = kwds[k]
   self.closed = 0
Exemple #4
0
 def __init__(self, encoding='utf8',**kwds):
   source.__init__(*(self,encoding), **kwds)
   self.name = 'standard input'
   self.closed = 0