예제 #1
0
 def __init__(self, position=1, index=1):
     TemplateAttribNode.__init__(self)
     # TODO Position means question
     # Index means setence in question
     # Need to make sure every index class is using this correctly
     # See TODO Below
     self._position = position
     self._index = index
예제 #2
0
 def __init__(self, question=1, sentence=1):
     TemplateAttribNode.__init__(self)
     self._question = question
     self._sentence = sentence
예제 #3
0
 def __init__(self, index=1):
     TemplateAttribNode.__init__(self)
     self._index = index
예제 #4
0
 def __init__(self):
     TemplateAttribNode.__init__(self)
     self._level = "debug"
예제 #5
0
 def __init__(self, position=1, index=1):
     TemplateAttribNode.__init__(self)
     self._position = position
     self._index = index
예제 #6
0
파일: xml.py 프로젝트: acondori/program-y
 def __init__(self):
     TemplateAttribNode.__init__(self)
     self._name = None
     self._attribs = {}
예제 #7
0
파일: system.py 프로젝트: hiitsme123/python
 def __init__(self):
     TemplateAttribNode.__init__(self)
     self._timeout = 0
예제 #8
0
 def __init__(self, date_format=None):
     TemplateAttribNode.__init__(self)
     if date_format is None:
         self._format = "%c"
     else:
         self._format = date_format
예제 #9
0
파일: date.py 프로젝트: Doshmaku/program-y
 def __init__(self, date_format=None):
     TemplateAttribNode.__init__(self)
     if date_format is None:
         self._format = "%c"
     else:
         self._format = date_format
예제 #10
0
 def __init__(self, position=1, index=1):
     TemplateAttribNode.__init__(self)
     self._position = position
     self._index = index
예제 #11
0
 def test_node(self):
     attrib = TemplateAttribNode()
     self.assertIsNotNone(attrib)
     with self.assertRaises(Exception):
         attrib.set_attrib("Something", "Other")
예제 #12
0
 def __init__(self):
     TemplateAttribNode.__init__(self)
     self._timeout = 0