@@ -213,8 +213,7 @@ class ParseSyntaxException(ParseFatalException):
213213 ErrorStop indicates that parsing is to stop immediately because
214214 an unbacktrackable syntax error has been found"""
215215 def __init__ (self , pe ):
216- super (ParseSyntaxException , self ).__init__ (
217- pe .pstr , pe .loc , pe .msg , pe .parserElement )
216+ ParseFatalException .__init__ (self , pe .pstr , pe .loc , pe .msg , pe .parserElement )
218217
219218#~ class ReparseException(ParseBaseException):
220219 #~ """Experimental class - parse actions can raise this exception to cause
@@ -3481,16 +3480,16 @@ def nestedExpr(opener="(", closer=")", content=None, ignoreExpr=quotedString):
34813480 return ret
34823481
34833482def indentedBlock (blockStatementExpr , indentStack , indent = True ):
3484- """Helper method for defining space-delimited indentation blocks, such as
3483+ """Helper method for defining space-delimited indentation blocks, such as
34853484 those used to define block statements in Python source code.
3486-
3485+
34873486 Parameters:
3488- - blockStatementExpr - expression defining syntax of statement that
3487+ - blockStatementExpr - expression defining syntax of statement that
34893488 is repeated within the indented block
34903489 - indentStack - list created by caller to manage indentation stack
34913490 (multiple statementWithIndentedBlock expressions within a single grammar
34923491 should share a common indentStack)
3493- - indent - boolean indicating whether block must be indented beyond the
3492+ - indent - boolean indicating whether block must be indented beyond the
34943493 the current level; set to False for block of left-most statements
34953494 (default=True)
34963495
0 commit comments