def get(self):
        s = self.s
        pos = self.pos
        if self.ignore_space:
            while True:
                if pos >= len(s):
                    return u""
                elif is_space(ord(s[pos])):
                    pos += 1
                elif s[pos] == u"#":
                    pos = s.find(u"\n", pos)
                    if pos < 0:
                        pos = len(s)
                else:
                    break
        try:
            ch = s[pos]
            self.pos = pos + 1
            return ch
        except IndexError:
            self.pos = pos
            return u""
        except __HOLE__:
            self.pos = len(s)
            return u""
dataset/ETHPy150Open samth/pycket/pycket/regexp.py/Source.get