def _parse_and_return_unquoted_string(self):
        """
        Parses a string that has no quotation marks so it doesn't
        contain any special characters and we don't have to interpret
        any escape sequences.
        :return: (string, quoted=False, end_of_string_pos)
        """
        begin = self.pos
        for end in my_xrange(self.pos, self.end):
            if self.text[end] in self.spaces_and_special_chars:
                break
        else:
            end = self.end
        if begin == end:
            self.error('Expected a scalar here.')
        return self.text[begin:end], False, end
def _parse_and_return_unquoted_string ( self ) : begin = self . pos for end in my_xrange ( self . pos , self . end ) : if self . text [ end ] in self . spaces_and_special_chars : break else : end = self . end if begin == end : self . error ( 'Expected a scalar here.' ) return self . text [ begin : end ] , False , end
Parses a string that has no quotation marks so it doesn't
        contain any special characters and we don't have to interpret
        any escape sequences.
        :return: (string, quoted=False, end_of_string_pos)