Пример #1
0
 def __init__(self, date_format=None, locale=None):
     TemplateAttribNode.__init__(self)
     if date_format is None:
         self._format = "%c"
     else:
         self._format = date_format
     self._locale = locale
Пример #2
0
    def __init__(self, date_format=None, locale=None):
        TemplateAttribNode.__init__(self)

        if date_format is None:
            self._format = TemplateWordNode("%c")
        else:
            self._format = TemplateWordNode(date_format)

        self._locale = None
        if locale is not None:
            self._locale = TemplateWordNode(locale)
Пример #3
0
 def __init__(self, question=1, sentence=1):
     TemplateAttribNode.__init__(self)
     self._question = question
     self._sentence = sentence
Пример #4
0
 def __init__(self, index=1):
     TemplateAttribNode.__init__(self)
     self._index = index
Пример #5
0
 def __init__(self):
     TemplateAttribNode.__init__(self)
     self.pairs = {}
Пример #6
0
 def __init__(self, question=1, sentence=1):
     TemplateAttribNode.__init__(self)
     self._question = question
     self._sentence = sentence
Пример #7
0
 def __init__(self, index=1):
     TemplateAttribNode.__init__(self)
     self._index = index
Пример #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
 def __init__(self):
     TemplateAttribNode.__init__(self)
     self._level = "debug"
     self._output = "logging"
Пример #10
0
 def __init__(self):
     TemplateAttribNode.__init__(self)
     self._level = "debug"
     self._output = "logging"
Пример #11
0
 def __init__(self):
     TemplateAttribNode.__init__(self)
     self._timeout = 0
Пример #12
0
 def __init__(self):
     TemplateAttribNode.__init__(self)
     self._name = None
     self._attribs = {}
Пример #13
0
 def __init__(self):
     TemplateAttribNode.__init__(self)
     self._timeout = TemplateWordNode("0")
Пример #14
0
 def __init__(self, index=1):
     TemplateAttribNode.__init__(self)
     self._index = TemplateWordNode(str(index))
Пример #15
0
 def __init__(self):
     TemplateAttribNode.__init__(self)
     self._level = "debug"
Пример #16
0
 def __init__(self):
     TemplateAttribNode.__init__(self)
     self._level = TemplateWordNode("debug")
     self._output = TemplateWordNode("logging")
Пример #17
0
 def __init__(self):
     TemplateAttribNode.__init__(self)
     self._timeout = 0
Пример #18
0
 def __init__(self):
     TemplateAttribNode.__init__(self)
     self._name = None
     self._attribs = {}