示例#1
0
 def parse(self, src):
     raise DeprecationWarning("Should not be parsing with a unit")
     return poparser.parse_unit(poparser.ParseState(cStringIO.StringIO(src), pounit), self)
示例#2
0
 def parse(self, src):
     return poparser.parse_unit(
         poparser.ParseState(splitlines(src), pounit), self)
示例#3
0
 def parse(self, src):
     return poparser.parse_unit(poparser.ParseState(cStringIO.StringIO(src), pounit), self)
示例#4
0
 def parse(self, src):
     return poparser.parse_unit(poparser.ParseState(BytesIO(src), pounit),
                                self)
示例#5
0
 def parse(self, src):
     return poparser.parse_unit(poparser.ParseState(BytesIO(src), pounit), self)
示例#6
0
 def parse(self, src):
     return poparser.parse_unit(poparser.ParseState(splitlines(src), pounit), self)