ui/base/ime/generate_character_composer_data.py
def Get(self):
    """Return the next input character, or None when inputs are exhausted."""
    if self._line is None:
      if self._file is None:
        if not self._pending:
          return None
        self._filename = self._pending[0]
        self._pending = self._pending[1:]
        self._file = codecs.open(self._filename, mode='rb', encoding='utf-8')
        self._lineno = 0
      self._lineno += 1
      self._line = self._file.readline()
      if not self._line:
        self._file = None
        self._filename = None
        return self.Get()
      self._column = 0
    if self._column >= len(self._line):
      self._line = None
      return self.Get()
    c = self._line[self._column]
    self._column += 1
    return c
Return the next input character, or None when inputs are exhausted.
Return the next input character, or None when inputs are exhausted.
Return the next input character or None when inputs are exhausted .
def Get(self):
    if self._line is None:
      if self._file is None:
        if not self._pending:
          return None
        self._filename = self._pending[0]
        self._pending = self._pending[1:]
        self._file = codecs.open(self._filename, mode='rb', encoding='utf-8')
        self._lineno = 0
      self._lineno += 1
      self._line = self._file.readline()
      if not self._line:
        self._file = None
        self._filename = None
        return self.Get()
      self._column = 0
    if self._column >= len(self._line):
      self._line = None
      return self.Get()
    c = self._line[self._column]
    self._column += 1
    return c
def Get ( self ) : if self . _line is None : if self . _file is None : if not self . _pending : return None self . _filename = self . _pending [ 0 ] self . _pending = self . _pending [ 1 : ] self . _file = codecs . open ( self . _filename , mode = 'rb' , encoding = 'utf-8' ) self . _lineno = 0 self . _lineno += 1 self . _line = self . _file . readline ( ) if not self . _line : self . _file = None self . _filename = None return self . Get ( ) self . _column = 0 if self . _column >= len ( self . _line ) : self . _line = None return self . Get ( ) c = self . _line [ self . _column ] self . _column += 1 return c
Return the next input character, or None when inputs are exhausted.
Return the next input character or None when inputs are exhausted .
"""Return the next input character, or None when inputs are exhausted."""
self