def getch(self):
        if self.lastChar == '':
            try:
                return self.iterator.next()
            except __HOLE__:
                return ''
        else:
            (ch, self.lastChar) = (self.lastChar, '')
            return ch
dataset/ETHPy150Open CountZer0/PipelineConstructionSet/python/maya/site-packages/pymel-1.0.3/pymel/util/scanf.py/CharacterBufferFromIterable.getch