Example #1
0
File: reader.py Project: harto/kaa
 def _read_string(self, chars):
     try:
         return string.read(chars.unpop())
     except string.UnterminatedStringException, e:
         raise UnexpectedEofException(e)
Example #2
0
 def _read_string(self, s):
     return string.read(CharBuffer(s))