Ejemplo n.º 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
Ejemplo n.º 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
Ejemplo n.º 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
Ejemplo n.º 4
0
 def __init__(self, encoding='utf8',**kwds):
   source.__init__(*(self,encoding), **kwds)
   self.name = 'standard input'
   self.closed = 0