code: def get_right_character(self, cursor=None):
          
          next_char = self.get_right_word(cursor=cursor)
          if len(next_char):
              next_char = next_char[0]
          else:
              next_char = None
          return next_char
docs: Gets the character that is on the right of the text cursor.
  
          :param cursor: QTextCursor that defines the position where the search
              will start.