(self)
return (self.isopener[self.indexbracket] and
                self.rawtext[self.bracketing[self.indexbracket][0]]
                in ('"', "'"))
Is the index given to the HyperParser in a string?
Is the index given to the HyperParser in a string?
Is the index given to the HyperParser in a string?
def is_in_string(self):
        """Is the index given to the HyperParser in a string?"""
        # The bracket to which we belong should be an opener.
        # If it's an opener, it has to have a character.
        return (self.isopener[self.indexbracket] and
                self.rawtext[self.bracketing[self.indexbracket][0]]
                in ('"', "'"))
def is_in_string ( self ) : # The bracket to which we belong should be an opener. # If it's an opener, it has to have a character. return ( self . isopener [ self . indexbracket ] and self . rawtext [ self . bracketing [ self . indexbracket ] [ 0 ] ] in ( '"' , "'" ) )