Пример #1
0
 def __init__(self, errfp=sys.stderr, codec='utf-8'):
     WikiTextParser.__init__(self)
     self.errfp = errfp
     self.codec = codec
     return
Пример #2
0
 def close(self):
     WikiTextParser.close(self)
     texts = self.convert(self.get_root())
     return u''.join(texts)
Пример #3
0
 def __init__(self, errfp=None):
     WikiTextParser.__init__(self)
     self.errfp = errfp
     return
Пример #4
0
 def close(self):
     WikiTextParser.close(self)
     texts = self.convert(self.get_root())
     return u''.join(texts)
Пример #5
0
 def __init__(self, errfp=None):
     WikiTextParser.__init__(self)
     self.errfp = errfp
     return
Пример #6
0
 def close(self):
     WikiTextParser.close(self)
     return self.convert(self.get_root())